summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp
Commit message (Collapse)AuthorAge
* Add -std=c++98 to the test and minor improvment in addition.Fariborz Jahanian2013-01-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172221 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve on my last test for patch for // rdar://12897704Fariborz Jahanian2013-01-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172154 91177308-0d34-0410-b5e6-96231b3b80d8
* c++ IRGen. In trivial cases that object is going into staticFariborz Jahanian2013-01-10
storage and thus is implicitly zero-initialized, no need to do C++11 memory model. This patch unconditionally detects such condition and zeroinitializer's the variable. Patch has been commented on and OKed by Doug off-line. // rdar://12897704 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172144 91177308-0d34-0410-b5e6-96231b3b80d8