]> granicus.if.org Git - clang/commit
Support compound complex operations as l-values in C++. Add a test
authorJohn McCall <rjmccall@apple.com>
Tue, 16 Nov 2010 23:07:28 +0000 (23:07 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 16 Nov 2010 23:07:28 +0000 (23:07 +0000)
commit83ce9d4a552987d34cbd500e983db8d770232379
tree691cfdcff43a0b22aeeb2d08f0fa7922124f084b
parentbee77f75358a5aaf2e2e01ab9cfd37ffc514ed7a
Support compound complex operations as l-values in C++.  Add a test
case based on CodeGen/volatile-1.c which tests the current C++
semantics, and note the many, many places we fall short of them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119402 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprComplex.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/volatile-1.cpp [new file with mode: 0644]