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

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

Issue 2536403002: blink_gc_plugin should require tracing for classes that have a trace method
Patch Set: Created 4 years, 1 month 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/base_with_trace_requires_tracing.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/base_with_trace_requires_tracing.txt
diff --git a/tools/clang/blink_gc_plugin/tests/base_with_trace_requires_tracing.txt b/tools/clang/blink_gc_plugin/tests/base_with_trace_requires_tracing.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3bb0a0c9a8db9f961fafa889cc39db88250e088
--- /dev/null
+++ b/tools/clang/blink_gc_plugin/tests/base_with_trace_requires_tracing.txt
@@ -0,0 +1,4 @@
+base_with_trace_requires_tracing.cpp:16:1: warning: [blink-gc] Base class 'B' of derived class 'C' requires tracing.
+void C::trace(Visitor* visitor) {
+^
+1 warning generated.
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/base_with_trace_requires_tracing.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698