David Majnemer
c7213b718d
Fix tests effected by r194221
...
GEP expressions were folded differently from before, change the tests to
reflect this.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194243 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-08 03:06:45 +00:00
Stephen Lin
93ab6bf534
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-15 06:47:53 +00:00
Richard Smith
5016a70c18
DR1472: A reference isn't odr-used if it has preceding initialization,
...
initialized by a reference constant expression.
Our odr-use modeling still needs work here: we don't yet implement the 'set of
potential results of an expression' DR.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166361 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-20 01:38:33 +00:00
Richard Smith
b1502bcd67
DR1442: In a range-based for statement, namespace 'std' is not an associated
...
namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166194 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-18 17:56:02 +00:00
Richard Smith
762bb9d0ad
Update all tests other than Driver/std.cpp to use -std=c++11 rather than
...
-std=c++0x. Patch by Ahmed Charles!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141900 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-13 22:29:44 +00:00
Chris Lattner
9cbe4f0ba0
clang side to match the LLVM IR type system rewrite patch.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134831 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-09 17:41:47 +00:00
Richard Smith
8b8b84dd91
Apply NAKAMURA Takumi's workaround to fix thses tests on -Asserts build. The labels there are numbered, not named, and numbered labels are formatted differently.
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129562 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-15 10:12:39 +00:00
Richard Smith
ad762fcdc1
Add support for C++0x's range-based for loops, as specified by the C++11 draft standard (N3291).
...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129541 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-14 22:09:26 +00:00