summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/DeclTest.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-08-08 23:17:51 +0000
committerTim Northover <tnorthover@apple.com>2017-08-08 23:17:51 +0000
commitd1fafc8b0569b1cef000e1063657e2752f41ecb4 (patch)
treedcbd9648de59e25bccb8b201d6ed11f220501dc6 /clang/unittests/AST/DeclTest.cpp
parent8dd90fb54b2b0c1fd0209ecbbd78c242863e2aa8 (diff)
downloadbcm5719-llvm-d1fafc8b0569b1cef000e1063657e2752f41ecb4.tar.gz
bcm5719-llvm-d1fafc8b0569b1cef000e1063657e2752f41ecb4.zip
Revert "Lexer: always allow imaginary constants in GNU mode."
This reverts r310423. It was committed by mistake, I intended to commit the improved diagnostics for implicit conversions instead. llvm-svn: 310426
Diffstat (limited to 'clang/unittests/AST/DeclTest.cpp')
-rw-r--r--clang/unittests/AST/DeclTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/DeclTest.cpp b/clang/unittests/AST/DeclTest.cpp
index f06f21a55dc..87aeef47c61 100644
--- a/clang/unittests/AST/DeclTest.cpp
+++ b/clang/unittests/AST/DeclTest.cpp
@@ -26,7 +26,7 @@ TEST(Decl, CleansUpAPValues) {
// This is a regression test for a memory leak in APValues for structs that
// allocate memory. This test only fails if run under valgrind with full leak
// checking enabled.
- std::vector<std::string> Args(1, "-std=gnu++11");
+ std::vector<std::string> Args(1, "-std=c++11");
Args.push_back("-fno-ms-extensions");
ASSERT_TRUE(runToolOnCodeWithArgs(
Factory->create(),
OpenPOWER on IntegriCloud