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

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

Issue 2780113002: Refactor banned directory checking so Blink can opt into certain checks. (Closed)
Patch Set: Created 3 years, 9 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
Index: tools/clang/plugins/FindBadConstructsConsumer.h
diff --git a/tools/clang/plugins/FindBadConstructsConsumer.h b/tools/clang/plugins/FindBadConstructsConsumer.h
index 64032d853a36ba29ed7fc0ce5f3c40ec7ba18d46..a1acf4a19db2038ef6da8606b20d8697c0b445da 100644
--- a/tools/clang/plugins/FindBadConstructsConsumer.h
+++ b/tools/clang/plugins/FindBadConstructsConsumer.h
@@ -56,9 +56,11 @@ class FindBadConstructsConsumer
bool VisitCallExpr(clang::CallExpr* call_expr);
// ChromeClassTester overrides:
- void CheckChromeClass(clang::SourceLocation record_location,
+ void CheckChromeClass(LocationType location_type,
+ clang::SourceLocation record_location,
clang::CXXRecordDecl* record) override;
- void CheckChromeEnum(clang::SourceLocation enum_location,
+ void CheckChromeEnum(LocationType location_type,
+ clang::SourceLocation enum_location,
clang::EnumDecl* enum_decl) override;
private:

Powered by Google App Engine
This is Rietveld 408576698