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

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

Issue 520283002: . Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: notjustcalls 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/clang/plugins/ChromeClassTester.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..52fc515565607c087e23e9d03eb278989e3706e1 100644
--- a/tools/clang/plugins/ChromeClassTester.h
+++ b/tools/clang/plugins/ChromeClassTester.h
@@ -22,8 +22,9 @@ class ChromeClassTester : public clang::ASTConsumer {
// clang::ASTConsumer:
virtual void HandleTagDeclDefinition(clang::TagDecl* tag);
virtual bool HandleTopLevelDecl(clang::DeclGroupRef group_ref);
+ virtual void HandleTranslationUnit(clang::ASTContext& context) override;
- protected:
+ //protected:
clang::CompilerInstance& instance() { return instance_; }
clang::DiagnosticsEngine& diagnostic() { return diagnostic_; }
@@ -44,7 +45,7 @@ class ChromeClassTester : public clang::ASTConsumer {
// implementation (.cc, .cpp, .mm) file.
bool InImplementationFile(clang::SourceLocation location);
- private:
+ //private:
void BuildBannedLists();
void CheckTag(clang::TagDecl*);
@@ -74,6 +75,9 @@ class ChromeClassTester : public clang::ASTConsumer {
clang::CompilerInstance& instance_;
clang::DiagnosticsEngine& diagnostic_;
+ unsigned diag_might_be_gone_;
+ unsigned diag_might_be_gone_note_here_;
+
// List of banned namespaces.
std::vector<std::string> banned_namespaces_;
« no previous file with comments | « no previous file | tools/clang/plugins/ChromeClassTester.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698