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

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

Issue 1385193002: Bisect clang Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 246985 Created 5 years, 2 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 In file included from stack_allocated.cpp:5:
2 ./stack_allocated.h:14:1: warning: [blink-gc] Class 'PartObject' requires a trac e method.
3 class PartObject {
4 ^
5 ./stack_allocated.h:17:5: note: [blink-gc] Untraced field 'm_obj' declared here:
6 Member<HeapObject> m_obj; // Needs tracing.
7 ^
8 ./stack_allocated.h:26:28: warning: [blink-gc] Stack-allocated class 'AnotherSta ckObject' derives class 'PartObject' which is not stack allocated.
9 class AnotherStackObject : public PartObject { // Invalid base.
10 ^
11 ./stack_allocated.h:32:1: warning: [blink-gc] Class 'HeapObject' contains invali d fields.
12 class HeapObject : public GarbageCollected<HeapObject> {
13 ^
14 ./stack_allocated.h:36:5: note: [blink-gc] Stack-allocated field 'm_part' declar ed here:
15 StackObject m_part; // Cannot embed a stack allocated object.
16 ^
17 stack_allocated.cpp:12:1: warning: [blink-gc] Class 'AnonStackObject' contains i nvalid fields.
18 class AnonStackObject : public StackObject {
19 ^
20 stack_allocated.cpp:14:5: note: [blink-gc] Raw pointer field 'm_obj' to a GC man aged class declared here:
21 HeapObject* m_obj;
22 ^
23 4 warnings generated.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698