]> granicus.if.org Git - clang/commit
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)
commit58b5ea42889ecd48b1be10e88cf13825a30ff7b4
treeee0995132834f375348186e6775dd11ffc00660e
parent77a38f8d37e73de86dc0621b83d6a5d13c5efcde
Take the non-reference type when constructing a dummy expression.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232425 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ThreadSafety.cpp
test/SemaCXX/thread-safety-reference-handling.cpp [new file with mode: 0644]