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

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

Issue 430213003: Blink GC plugin: Require that fields are actually traced by the visitor and identify tracing of dep… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TraceIfNeeded support Created 6 years, 4 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/trace_templated_super.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/trace_templated_super.txt
diff --git a/tools/clang/blink_gc_plugin/tests/trace_templated_super.txt b/tools/clang/blink_gc_plugin/tests/trace_templated_super.txt
new file mode 100644
index 0000000000000000000000000000000000000000..291b018f18fd794404be2668682bf008127e3fb7
--- /dev/null
+++ b/tools/clang/blink_gc_plugin/tests/trace_templated_super.txt
@@ -0,0 +1,7 @@
+trace_templated_super.cpp:23:1: warning: [blink-gc] Class 'Sub<blink::HeapObject>' has untraced fields that require tracing.
+template<typename T>
+^
+./trace_templated_super.h:35:5: note: [blink-gc] Untraced field 'm_obj' declared here:
+ Member<HeapObject> m_obj;
+ ^
+1 warning generated.
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/trace_templated_super.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698