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

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

Issue 564453002: Blink GC plugin: Check polymorphic requirements on all GC-derived classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and fix test error from previous CL Created 6 years, 3 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
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 In file included from virtual_and_trace_after_dispatch.cpp:5: 1 In file included from virtual_and_trace_after_dispatch.cpp:5:
2 ./virtual_and_trace_after_dispatch.h:12:1: warning: [blink-gc] Left-most base cl ass 'A' of derived class 'B' must be polymorphic.
3 class A : public GarbageCollected<A> {
4 ^
2 ./virtual_and_trace_after_dispatch.h:23:1: warning: [blink-gc] Class 'B' contain s or inherits virtual methods but implements manual dispatching. 5 ./virtual_and_trace_after_dispatch.h:23:1: warning: [blink-gc] Class 'B' contain s or inherits virtual methods but implements manual dispatching.
3 class B : public A { 6 class B : public A {
4 ^ 7 ^
5 ./virtual_and_trace_after_dispatch.h:14:5: note: [blink-gc] Manual dispatch 'tra ce' declared here: 8 ./virtual_and_trace_after_dispatch.h:14:5: note: [blink-gc] Manual dispatch 'tra ce' declared here:
6 void trace(Visitor*); 9 void trace(Visitor*);
7 ^ 10 ^
8 1 warning generated. 11 2 warnings generated.
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698