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

Side by Side Diff: tools/clang/blink_gc_plugin/tests/legacy_naming/fields_illegal_tracing.txt

Issue 2578103003: Add use-chromium-style-naming option to Blink GC plugin. (Closed)
Patch Set: Copy and paste tests Created 3 years, 12 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
1 In file included from fields_illegal_tracing.cpp:5: 1 In file included from fields_illegal_tracing.cpp:5:
2 ./fields_illegal_tracing.h:32:1: warning: [blink-gc] Class 'PartObject' contains invalid fields. 2 ./fields_illegal_tracing.h:32:1: warning: [blink-gc] Class 'PartObject' contains invalid fields.
3 class PartObject { 3 class PartObject {
4 ^ 4 ^
5 ./fields_illegal_tracing.h:37:5: note: [blink-gc] OwnPtr field 'm_obj1' to a GC managed class declared here: 5 ./fields_illegal_tracing.h:37:5: note: [blink-gc] OwnPtr field 'm_obj1' to a GC managed class declared here:
6 OwnPtr<HeapObject> m_obj1; 6 OwnPtr<HeapObject> m_obj1;
7 ^ 7 ^
8 ./fields_illegal_tracing.h:38:5: note: [blink-gc] RefPtr field 'm_obj2' to a GC managed class declared here: 8 ./fields_illegal_tracing.h:38:5: note: [blink-gc] RefPtr field 'm_obj2' to a GC managed class declared here:
9 RefPtr<HeapObject> m_obj2; 9 RefPtr<HeapObject> m_obj2;
10 ^ 10 ^
(...skipping 30 matching lines...) Expand all
41 ./fields_illegal_tracing.h:48:5: note: [blink-gc] Untraceable field 'm_obj1' dec lared here: 41 ./fields_illegal_tracing.h:48:5: note: [blink-gc] Untraceable field 'm_obj1' dec lared here:
42 OwnPtr<HeapObject> m_obj1; 42 OwnPtr<HeapObject> m_obj1;
43 ^ 43 ^
44 ./fields_illegal_tracing.h:49:5: note: [blink-gc] Untraceable field 'm_obj2' dec lared here: 44 ./fields_illegal_tracing.h:49:5: note: [blink-gc] Untraceable field 'm_obj2' dec lared here:
45 RefPtr<HeapObject> m_obj2; 45 RefPtr<HeapObject> m_obj2;
46 ^ 46 ^
47 ./fields_illegal_tracing.h:51:5: note: [blink-gc] Untraceable field 'm_obj4' dec lared here: 47 ./fields_illegal_tracing.h:51:5: note: [blink-gc] Untraceable field 'm_obj4' dec lared here:
48 std::unique_ptr<HeapObject> m_obj4; 48 std::unique_ptr<HeapObject> m_obj4;
49 ^ 49 ^
50 4 warnings generated. 50 4 warnings generated.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698