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

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

Issue 1158623002: Extend destructor checks to account for eagerly finalized class types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated to look for IsEagerlyFinalizedMarker instead Created 5 years, 7 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
« no previous file with comments | « tools/clang/blink_gc_plugin/Config.h ('k') | tools/clang/blink_gc_plugin/RecordInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 da2f41551cf6a961bc25543d2c4f5f3a12d1c456..f351db8cc795785f5bb04119c245ab6822fcd3ba 100644
--- a/tools/clang/blink_gc_plugin/RecordInfo.h
+++ b/tools/clang/blink_gc_plugin/RecordInfo.h
@@ -94,6 +94,8 @@ class RecordInfo {
bool IsNonNewable();
bool IsOnlyPlacementNewable();
bool IsGCMixinInstance();
+ bool IsEagerlyFinalized();
+
clang::CXXMethodDecl* DeclaresNewOperator();
bool RequiresTraceMethod();
@@ -132,6 +134,7 @@ class RecordInfo {
CachedBool does_need_finalization_;
CachedBool has_gc_mixin_methods_;
CachedBool is_declaring_local_trace_;
+ CachedBool is_eagerly_finalized_;
bool determined_trace_methods_;
clang::CXXMethodDecl* trace_method_;
« no previous file with comments | « tools/clang/blink_gc_plugin/Config.h ('k') | tools/clang/blink_gc_plugin/RecordInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698