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/tests/heap/stubs.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/tests/destructor_eagerly_finalized.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/blink_gc_plugin/tests/heap/stubs.h
diff --git a/tools/clang/blink_gc_plugin/tests/heap/stubs.h b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
index e8ff1b34b1e6b5adad4b17b141266261777eaec7..5e07c2366e05cacfc3f874c8fdc03eb25517c6ab 100644
--- a/tools/clang/blink_gc_plugin/tests/heap/stubs.h
+++ b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
@@ -147,6 +147,8 @@ public: \
virtual void adjustAndMark(Visitor*) const override { } \
virtual bool isHeapObjectAlive(Visitor*) const override { return 0; }
+#define EAGERLY_FINALIZED() typedef int IsEagerlyFinalizedMarker
+
template<typename T> class GarbageCollected { };
template<typename T>
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/destructor_eagerly_finalized.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698