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

Unified Diff: tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class.h

Issue 1274403002: GC plugin: consider references equal to raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Propagate reference type into error/warning messages Created 5 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
Index: tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class.h
diff --git a/tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class.h b/tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class.h
index 479f0e0d7314c4a1519a6258270fcf7b33076fa9..eab38c2a14ea0bde7b93eb622853c31a32937659 100644
--- a/tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class.h
+++ b/tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class.h
@@ -14,7 +14,11 @@ class HeapObject;
class PartObject {
DISALLOW_ALLOCATION();
private:
+ PartObject();
+
RawPtr<HeapObject> m_obj;
+ HeapObject* m_rawObj;
+ HeapObject& m_refObj;
};
class HeapObject : public GarbageCollected<HeapObject> {
« no previous file with comments | « tools/clang/blink_gc_plugin/RecordInfo.cpp ('k') | tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698