GC plugin: consider references equal to raw pointers.
commit70fe23896f81cd66ba1a205b0336f91c64e3fa4e
authorsigbjornf <sigbjornf@opera.com>
Fri, 7 Aug 2015 08:27:57 +0000 (7 01:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 08:28:28 +0000 (7 08:28 +0000)
tree087cb32891a1d21e8b4f108267602f844cb6a4db
parent8ee1f8e3a1006de449420c6e0d7bbe0c12b23891
GC plugin: consider references equal to raw pointers.

Unmanaged raw pointers to managed(GC) classes aren't safe across GCs,
hence fields with raw pointer types to such GCed classes are identified
and reported as errors or warnings.

Extend that checking to also apply to reference pointer types.

R=haraken
BUG=420515

Review URL: https://codereview.chromium.org/1274403002

Cr-Commit-Position: refs/heads/master@{#342320}
tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp
tools/clang/blink_gc_plugin/Edge.h
tools/clang/blink_gc_plugin/RecordInfo.cpp
tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class.h
tools/clang/blink_gc_plugin/tests/raw_ptr_to_gc_managed_class.txt