Index: tools/clang/blink_gc_plugin/RecordInfo.h |
diff --git a/tools/clang/blink_gc_plugin/RecordInfo.h b/tools/clang/blink_gc_plugin/RecordInfo.h |
index d04ce9cd2c2e54421610e1dbe74d847e37865dce..82fb604137dfedd0a0cb3361506600e1c9a2de08 100644 |
--- a/tools/clang/blink_gc_plugin/RecordInfo.h |
+++ b/tools/clang/blink_gc_plugin/RecordInfo.h |
@@ -92,10 +92,13 @@ class RecordInfo { |
bool IsStackAllocated(); |
bool IsNonNewable(); |
bool IsOnlyPlacementNewable(); |
+ bool IsGCMixinInstance(); |
clang::CXXMethodDecl* DeclaresNewOperator(); |
bool RequiresTraceMethod(); |
bool NeedsFinalization(); |
+ bool DeclaresGCMixinMethods(); |
+ bool DeclaresLocalTraceMethod(); |
TracingStatus NeedsTracing(Edge::NeedsTracingOption); |
clang::CXXMethodDecl* InheritsNonVirtualTrace(); |
bool IsConsideredAbstract(); |
@@ -126,6 +129,8 @@ class RecordInfo { |
CachedBool is_non_newable_; |
CachedBool is_only_placement_newable_; |
CachedBool does_need_finalization_; |
+ CachedBool has_gc_mixin_methods_; |
+ CachedBool is_declaring_local_trace_; |
bool determined_trace_methods_; |
clang::CXXMethodDecl* trace_method_; |