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

Unified Diff: tools/clang/blink_gc_plugin/tests/pure_virtual_trace.txt

Issue 278513005: Blink GC plugin: disallow pure-virtual trace methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove pure related code Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/pure_virtual_trace.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/blink_gc_plugin/tests/pure_virtual_trace.txt
diff --git a/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.txt b/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.txt
index 8b137891791fe96927ad78e64b0aad7bded08bdc..175a28a418127c649e8ba71ac0aededa7f3baa77 100644
--- a/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.txt
+++ b/tools/clang/blink_gc_plugin/tests/pure_virtual_trace.txt
@@ -1 +1,5 @@
-
+In file included from pure_virtual_trace.cpp:5:
+./pure_virtual_trace.h:14:5: warning: [blink-gc] Garbage collected class 'A' is not permitted to declare a pure-virtual trace method.
+ virtual void trace(Visitor*) = 0;
+ ^
+1 warning generated.
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/pure_virtual_trace.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698