Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: tools/clang/plugins/FindBadConstructsAction.h

Issue 578623002: Roll Clang 214024:216630 (+216684) and switch to CMake (try 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/clang/plugins/CMakeLists.txt ('k') | tools/clang/plugins/FindBadConstructsAction.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TOOLS_CLANG_PLUGINS_FINDBADCONSTRUCTIONS_ACTION_H_ 5 #ifndef TOOLS_CLANG_PLUGINS_FINDBADCONSTRUCTIONS_ACTION_H_
6 #define TOOLS_CLANG_PLUGINS_FINDBADCONSTRUCTIONS_ACTION_H_ 6 #define TOOLS_CLANG_PLUGINS_FINDBADCONSTRUCTIONS_ACTION_H_
7 7
8 #include "clang/Frontend/FrontendAction.h" 8 #include "clang/Frontend/FrontendAction.h"
9 9
10 #include "Options.h" 10 #include "Options.h"
11 11
12 namespace chrome_checker { 12 namespace chrome_checker {
13 13
14 class FindBadConstructsAction : public clang::PluginASTAction { 14 class FindBadConstructsAction : public clang::PluginASTAction {
15 public: 15 public:
16 FindBadConstructsAction(); 16 FindBadConstructsAction();
17 17
18 protected: 18 protected:
19 // Overridden from PluginASTAction: 19 // Overridden from PluginASTAction:
20 virtual clang::ASTConsumer* CreateASTConsumer( 20 virtual std::unique_ptr<clang::ASTConsumer> CreateASTConsumer(
21 clang::CompilerInstance& instance, 21 clang::CompilerInstance& instance,
22 llvm::StringRef ref); 22 llvm::StringRef ref);
23 virtual bool ParseArgs(const clang::CompilerInstance& instance, 23 virtual bool ParseArgs(const clang::CompilerInstance& instance,
24 const std::vector<std::string>& args); 24 const std::vector<std::string>& args);
25 25
26 private: 26 private:
27 Options options_; 27 Options options_;
28 }; 28 };
29 29
30 } // namespace chrome_checker 30 } // namespace chrome_checker
31 31
32 #endif // TOOLS_CLANG_PLUGINS_FINDBADCONSTRUCTIONS_ACTION_H_ 32 #endif // TOOLS_CLANG_PLUGINS_FINDBADCONSTRUCTIONS_ACTION_H_
OLDNEW
« no previous file with comments | « tools/clang/plugins/CMakeLists.txt ('k') | tools/clang/plugins/FindBadConstructsAction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698