Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / tools / clang / blink_gc_plugin / tests / member_in_offheap_class.txt
blob9d5f2388dc8b3d140c87d7b6cbbef915658db8ff
1 In file included from member_in_offheap_class.cpp:5:
2 ./member_in_offheap_class.h:14:1: warning: [blink-gc] Class 'OffHeapObject' contains invalid fields.
3 class OffHeapObject {
5 ./member_in_offheap_class.h:18:5: note: [blink-gc] Member field 'm_obj' in unmanaged class declared here:
6     Member<HeapObject> m_obj; // Must not contain Member.
7     ^
8 ./member_in_offheap_class.h:22:1: warning: [blink-gc] Class 'StackObject' contains invalid fields.
9 class StackObject {
11 ./member_in_offheap_class.h:26:5: note: [blink-gc] Member field 'm_memberOff' to non-GC managed class declared here:
12     Member<OffHeapObject> m_memberOff; // NOT OK
13     ^
14 ./member_in_offheap_class.h:27:5: note: [blink-gc] Member field 'm_heapVectorMemberOff' to non-GC managed class declared here:
15     HeapVector<Member<OffHeapObject>> m_heapVectorMemberOff; // NOT OK
16     ^
17 2 warnings generated.