Commit Graph

3 Commits

Author SHA1 Message Date
Fariborz Jahanian 319437f457 Add -std=c++98 to the test and minor improvment in addition.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172221 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-11 17:33:57 +00:00
Fariborz Jahanian e930ff5c34 Improve on my last test for patch for // rdar://12897704
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172154 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-11 00:55:44 +00:00
Fariborz Jahanian c2316db5de c++ IRGen. In trivial cases that object is going into static
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
2013-01-10 23:28:43 +00:00