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

Unified Diff: tools/clang/plugins/ChromeClassTester.h

Issue 751233002: Switch the Clang plugin to use RecursiveASTVisitor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/clang/plugins/FindBadConstructsAction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/plugins/ChromeClassTester.h
diff --git a/tools/clang/plugins/ChromeClassTester.h b/tools/clang/plugins/ChromeClassTester.h
index 6bd19a629a8248d9539286653e74e33e393ff7b8..963b90fac2e4ee81199a763014ac04840fdb63d2 100644
--- a/tools/clang/plugins/ChromeClassTester.h
+++ b/tools/clang/plugins/ChromeClassTester.h
@@ -23,6 +23,8 @@ class ChromeClassTester : public clang::ASTConsumer {
virtual void HandleTagDeclDefinition(clang::TagDecl* tag);
virtual bool HandleTopLevelDecl(clang::DeclGroupRef group_ref);
+ void CheckTag(clang::TagDecl*);
+
protected:
clang::CompilerInstance& instance() { return instance_; }
clang::DiagnosticsEngine& diagnostic() { return diagnostic_; }
@@ -47,8 +49,6 @@ class ChromeClassTester : public clang::ASTConsumer {
private:
void BuildBannedLists();
- void CheckTag(clang::TagDecl*);
-
// Filtered versions of tags that are only called with things defined in
// chrome header files.
virtual void CheckChromeClass(clang::SourceLocation record_location,
« no previous file with comments | « no previous file | tools/clang/plugins/FindBadConstructsAction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698