]> granicus.if.org Git - clang/commit
Correctly destroy reference temporaries with global storage. Remove ErrorUnsupported...
authorAnders Carlsson <andersca@mac.com>
Sun, 27 Jun 2010 17:52:15 +0000 (17:52 +0000)
committerAnders Carlsson <andersca@mac.com>
Sun, 27 Jun 2010 17:52:15 +0000 (17:52 +0000)
commit045a6d84a0fa672eb5d914be1bb8f3baa226beb3
treef4f9c23d97304f2de76d8e94479eea78991e5fbc
parent656746cd8c3a45901bcdec89ca1eb4495ee79b36
Correctly destroy reference temporaries with global storage. Remove ErrorUnsupported call when binding a global reference to a non-lvalue. Fixes PR7326.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106983 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CGExpr.cpp
test/CodeGenCXX/references.cpp