Take the non-reference type when constructing a dummy expression.
authorRichard Trieu <rtrieu@google.com>
Mon, 16 Mar 2015 21:49:43 +0000 (21:49 +0000)
committerRichard Trieu <rtrieu@google.com>
Mon, 16 Mar 2015 21:49:43 +0000 (21:49 +0000)
commita1877598aaafe562c14f82f552124bdf48c521ab
tree84bee793fec41a6c31216014cc096891ff707385
parentc695cc7e589bd8b0380216ca875b1eaea6d10703
Take the non-reference type when constructing a dummy expression.

Otherwise, Expr will assert during construction with a reference type.

llvm-svn: 232425
clang/lib/Analysis/ThreadSafety.cpp
clang/test/SemaCXX/thread-safety-reference-handling.cpp [new file with mode: 0644]