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

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

Issue 840623002: Do not iterate past the end on processing leaf class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/left_most_gc_base.h ('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 left_most_gc_base.cpp:5: 1 In file included from left_most_gc_base.cpp:5:
2 ./left_most_gc_base.h:15:1: warning: [blink-gc] Class 'Right' must derive its GC base in the left-most position. 2 ./left_most_gc_base.h:15:1: warning: [blink-gc] Class 'Right' must derive its GC base in the left-most position.
3 class Right : public A, public B, public GarbageCollected<Right> { }; // Error 3 class Right : public A, public B, public GarbageCollected<Right> { }; // Error
4 ^ 4 ^
5 ./left_most_gc_base.h:18:1: warning: [blink-gc] Class 'DerivedRight' must derive its GC base in the left-most position. 5 ./left_most_gc_base.h:18:1: warning: [blink-gc] Class 'DerivedRight' must derive its GC base in the left-most position.
6 class DerivedRight : public Right, public Left { }; // Error 6 class DerivedRight : public Right, public Left { }; // Error
7 ^ 7 ^
8 2 warnings generated. 8 ./left_most_gc_base.h:12:1: warning: [blink-gc] Left-most base class 'A' of deri ved class 'IllFormed' must be polymorphic.
9 class A { };
10 ^
11 ./left_most_gc_base.h:26:1: warning: [blink-gc] Class 'IllFormed' must derive it s GC base in the left-most position.
12 class IllFormed : public A, public C { }; // Error
13 ^
14 4 warnings generated.
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/left_most_gc_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698