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

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

Issue 2578103003: Add use-chromium-style-naming option to Blink GC plugin. (Closed)
Patch Set: Rebase 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 non_virtual_trace.cpp:5: 1 In file included from non_virtual_trace.cpp:5:
2 ./non_virtual_trace.h:12:1: warning: [blink-gc] Left-most base class 'A' of deri ved class 'D' must define a virtual trace method. 2 ./non_virtual_trace.h:12:1: warning: [blink-gc] Left-most base class 'A' of deri ved class 'D' must define a virtual trace method.
3 class A : public GarbageCollected<A> { 3 class A : public GarbageCollected<A> {
4 ^ 4 ^
5 non_virtual_trace.cpp:13:1: warning: [blink-gc] Class 'C' overrides non-virtual trace of base class 'A'. 5 non_virtual_trace.cpp:13:1: warning: [blink-gc] Class 'C' overrides non-virtual trace of base class 'A'.
6 void C::trace(Visitor* visitor) 6 void C::Trace(Visitor* visitor)
7 ^ 7 ^
8 ./non_virtual_trace.h:14:5: note: [blink-gc] Non-virtual trace method declared h ere: 8 ./non_virtual_trace.h:14:5: note: [blink-gc] Non-virtual trace method declared h ere:
9 void trace(Visitor*); 9 void Trace(Visitor*);
10 ^ 10 ^
11 non_virtual_trace.cpp:18:1: warning: [blink-gc] Class 'D' overrides non-virtual trace of base class 'A'. 11 non_virtual_trace.cpp:18:1: warning: [blink-gc] Class 'D' overrides non-virtual trace of base class 'A'.
12 void D::trace(Visitor* visitor) 12 void D::Trace(Visitor* visitor)
13 ^ 13 ^
14 ./non_virtual_trace.h:14:5: note: [blink-gc] Non-virtual trace method declared h ere: 14 ./non_virtual_trace.h:14:5: note: [blink-gc] Non-virtual trace method declared h ere:
15 void trace(Visitor*); 15 void Trace(Visitor*);
16 ^ 16 ^
17 3 warnings generated. 17 3 warnings generated.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698