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

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

Issue 2749043004: Clang plugin: Support for Blink in web/. (Closed)
Patch Set: namespace approach Created 3 years, 8 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 03bc2bdd7e41a8f8edc8a5eedf51acfece82b5f2..3091000fbac03ff4b6dce020243f98c75a045cb6 100644
--- a/tools/clang/plugins/ChromeClassTester.h
+++ b/tools/clang/plugins/ChromeClassTester.h
@@ -52,7 +52,8 @@ class ChromeClassTester {
// it doesn't make sense to enforce Chrome's custom diagnostics.
kThirdParty,
};
- LocationType ClassifyLocation(clang::SourceLocation loc);
+ LocationType ClassifyLocation(clang::SourceLocation loc,
+ const clang::Decl* record);
// Utility method for subclasses to determine the namespace of the
// specified record, if any. Unnamed namespaces will be identified as
@@ -101,9 +102,6 @@ class ChromeClassTester {
// List of banned namespaces.
std::set<std::string> banned_namespaces_;
- // List of Blink directories.
- std::set<std::string> blink_directories_;
-
// List of banned directories.
std::set<std::string> banned_directories_;
« 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