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

Unified Diff: tools/clang/blink_gc_plugin/Config.h

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « third_party/ply/license.patch ('k') | tools/clang/blink_gc_plugin/tests/heap/stubs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/blink_gc_plugin/Config.h
diff --git a/tools/clang/blink_gc_plugin/Config.h b/tools/clang/blink_gc_plugin/Config.h
index ed76f1a4bad1da2e850f1598e36efc297a67dfd6..37cecd0df992115833730fdc32a5ff56afae230b 100644
--- a/tools/clang/blink_gc_plugin/Config.h
+++ b/tools/clang/blink_gc_plugin/Config.h
@@ -159,7 +159,9 @@ class Config {
IsIgnoreAnnotated(decl);
}
- static bool IsVisitor(const std::string& name) { return name == "Visitor"; }
+ static bool IsVisitor(const std::string& name) {
+ return name == "Visitor" || name == "VisitorHelper";
+ }
static bool IsTraceMethod(clang::FunctionDecl* method,
bool* isTraceAfterDispatch = 0) {
« no previous file with comments | « third_party/ply/license.patch ('k') | tools/clang/blink_gc_plugin/tests/heap/stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698