| 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_;
|
|
|
|
|