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

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

Issue 6577011: Make the clang plugin look for path components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CWD based paths instead. Created 9 years, 10 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') | tools/clang/plugins/ChromeClassTester.cpp » ('J')
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 38b15e1279ad7eab7d7c742c9f16692ccc27810a..aca93e6b4c092d0423f0b6d4f51f7463dcf402b3 100644
--- a/tools/clang/plugins/ChromeClassTester.h
+++ b/tools/clang/plugins/ChromeClassTester.h
@@ -20,6 +20,9 @@ class ChromeClassTester : public clang::ASTConsumer {
explicit ChromeClassTester(clang::CompilerInstance& instance);
virtual ~ChromeClassTester();
+ void FigureOutSrcRoot();
+ void BuildBannedLists();
+
// ASTConsumer:
virtual void HandleTagDeclDefinition(clang::TagDecl* tag);
@@ -54,6 +57,8 @@ class ChromeClassTester : public clang::ASTConsumer {
clang::CompilerInstance& instance_;
clang::Diagnostic& diagnostic_;
+ std::string srcroot_;
Nico 2011/02/25 02:08:41 src_root_ for consistency with the method name
+
// List of banned namespaces.
std::vector<std::string> banned_namespaces_;
« no previous file with comments | « no previous file | tools/clang/plugins/ChromeClassTester.cpp » ('j') | tools/clang/plugins/ChromeClassTester.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698