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

Side by Side Diff: tools/clang/blink_gc_plugin/tests/destructor_eagerly_finalized.txt

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, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 destructor_eagerly_finalized.cpp:26:5: warning: [blink-gc] Finalizer '~HeapObjec tEagerFinalizedAlso' accesses eagerly finalized field 'm_heapObjectFinalized'.
2 m_heapObjectFinalized->foo();
3 ^
4 ./destructor_eagerly_finalized.h:41:5: note: [blink-gc] Field 'm_heapObjectFinal ized' having eagerly finalized value, declared here:
5 Member<HeapObjectEagerFinalized> m_heapObjectFinalized;
6 ^
7 destructor_eagerly_finalized.cpp:27:5: warning: [blink-gc] Finalizer '~HeapObjec tEagerFinalizedAlso' accesses eagerly finalized field 'm_heapVector'.
8 m_heapVector[0]->foo();
9 ^
10 ./destructor_eagerly_finalized.h:42:5: note: [blink-gc] Field 'm_heapVector' hav ing eagerly finalized value, declared here:
11 HeapVector<Member<HeapObjectEagerFinalized>> m_heapVector;
12 ^
13 2 warnings generated.
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/destructor_eagerly_finalized.cpp ('k') | tools/clang/blink_gc_plugin/tests/heap/stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698