| Index: tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp
|
| diff --git a/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp b/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp
|
| index 4830a454d59a769d17b9bb3804c57d8835e3012f..8658b04304f32cba63509a9a7fd97df2ba63f1d3 100644
|
| --- a/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp
|
| +++ b/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp
|
| @@ -957,6 +957,7 @@ class BlinkGCPluginConsumer : public ASTConsumer {
|
|
|
| // Check polymorphic classes that are GC-derived or have a trace method.
|
| if (info->record()->hasDefinition() && info->record()->isPolymorphic()) {
|
| + // TODO: Check classes that inherit a trace method.
|
| CXXMethodDecl* trace = info->GetTraceMethod();
|
| if (trace || info->IsGCDerived())
|
| CheckPolymorphicClass(info, trace);
|
|
|