Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / clang / blink_gc_plugin / tests / class_requires_trace_method.txt
blob15231c106d7c509260fefcbcf3de9cbe23d5cdc2
1 In file included from class_requires_trace_method.cpp:5:
2 ./class_requires_trace_method.h:14:1: warning: [blink-gc] Class 'PartObject' requires a trace method.
3 class PartObject {
5 ./class_requires_trace_method.h:17:5: note: [blink-gc] Untraced field 'm_obj' declared here:
6     Member<HeapObject> m_obj;
7     ^
8 ./class_requires_trace_method.h:20:1: warning: [blink-gc] Class 'HeapObject' requires a trace method.
9 class HeapObject : public GarbageCollected<HeapObject> {
11 ./class_requires_trace_method.h:22:5: note: [blink-gc] Untraced field 'm_part' declared here:
12     PartObject m_part;
13     ^
14 ./class_requires_trace_method.h:31:1: warning: [blink-gc] Class 'HeapObjectMixin' which inherits from GarbageCollectedMixin must locally declare and override trace(Visitor*)
15 class HeapObjectMixin : public GarbageCollected<HeapObjectMixin>, public Mixin {
17 ./class_requires_trace_method.h:40:1: warning: [blink-gc] Class 'HeapObjectMixin2' which inherits from GarbageCollectedMixin must locally declare and override trace(Visitor*)
18 class HeapObjectMixin2
20 4 warnings generated.