]> granicus.if.org Git - clang/commit
Look through parentheses when deciding whether an expr is a temporary object. Fixes...
authorAnders Carlsson <andersca@mac.com>
Sun, 28 Nov 2010 16:40:49 +0000 (16:40 +0000)
committerAnders Carlsson <andersca@mac.com>
Sun, 28 Nov 2010 16:40:49 +0000 (16:40 +0000)
commitf8b3015060096a946d91578d0f3b65d3097a4ebb
treef926c1254430063c42dbad10a0d4c4ae67b5d950
parentfbfdb202405df65e054db4ad2111393c1b581d2d
Look through parentheses when deciding whether an expr is a temporary object. Fixes PR8683.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120247 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Expr.cpp
test/CodeGenCXX/copy-constructor-elim-2.cpp