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

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

Issue 1173333003: GC plugin: enable plugin on anonymous namespaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/stack_allocated.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/stack_allocated.txt
diff --git a/tools/clang/blink_gc_plugin/tests/stack_allocated.txt b/tools/clang/blink_gc_plugin/tests/stack_allocated.txt
index 2296d8788c10b235988d9e1448d8dc43b981febd..7fecd12f015a399531dc782edab08407e68d1c54 100644
--- a/tools/clang/blink_gc_plugin/tests/stack_allocated.txt
+++ b/tools/clang/blink_gc_plugin/tests/stack_allocated.txt
@@ -14,4 +14,10 @@ class HeapObject : public GarbageCollected<HeapObject> {
./stack_allocated.h:36:5: note: [blink-gc] Stack-allocated field 'm_part' declared here:
StackObject m_part; // Cannot embed a stack allocated object.
^
-3 warnings generated.
+stack_allocated.cpp:12:1: warning: [blink-gc] Class 'AnonStackObject' contains invalid fields.
+class AnonStackObject : public StackObject {
+^
+stack_allocated.cpp:14:5: note: [blink-gc] Raw pointer field 'm_obj' to a GC managed class declared here:
+ HeapObject* m_obj;
+ ^
+4 warnings generated.
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/stack_allocated.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698