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

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

Issue 430213003: Blink GC plugin: Require that fields are actually traced by the visitor and identify tracing of dep… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/blink_gc_plugin/Config.h
diff --git a/tools/clang/blink_gc_plugin/Config.h b/tools/clang/blink_gc_plugin/Config.h
index 9dc97798821919d93237a56d17e07a44b514d12e..f91393cc241379d473895b14144e4bdf776fff74 100644
--- a/tools/clang/blink_gc_plugin/Config.h
+++ b/tools/clang/blink_gc_plugin/Config.h
@@ -139,7 +139,7 @@ class Config {
static bool IsVisitor(const std::string& name) { return name == "Visitor"; }
- static bool IsTraceMethod(clang::CXXMethodDecl* method,
+ static bool IsTraceMethod(clang::FunctionDecl* method,
bool* isTraceAfterDispatch = 0) {
if (method->getNumParams() != 1)
return false;

Powered by Google App Engine
This is Rietveld 408576698