diff options
Diffstat (limited to 'test/Parser')
-rw-r--r-- | test/Parser/PR11000.cpp | 2 | ||||
-rw-r--r-- | test/Parser/char-literal-printing.c | 2 | ||||
-rw-r--r-- | test/Parser/cxx-default-delete.cpp | 2 | ||||
-rw-r--r-- | test/Parser/cxx0x-attributes.cpp | 2 | ||||
-rw-r--r-- | test/Parser/cxx0x-lambda-expressions.cpp | 2 | ||||
-rw-r--r-- | test/Parser/cxx0x-literal-operators.cpp | 2 | ||||
-rw-r--r-- | test/Parser/cxx0x-member-initializers.cpp | 2 | ||||
-rw-r--r-- | test/Parser/cxx0x-override-control-keywords.cpp | 2 | ||||
-rw-r--r-- | test/Parser/cxx0x-rvalue-reference.cpp | 2 | ||||
-rw-r--r-- | test/Parser/objcxx0x-lambda-expressions.mm | 2 | ||||
-rw-r--r-- | test/Parser/top-level-semi-cxx0x.cpp | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/test/Parser/PR11000.cpp b/test/Parser/PR11000.cpp index 41c62060a4..7dae99621b 100644 --- a/test/Parser/PR11000.cpp +++ b/test/Parser/PR11000.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++0x %s 2>&1 | FileCheck %s +// RUN: %clang_cc1 -std=c++11 %s 2>&1 | FileCheck %s // PR11000: Don't crash. class tuple<> diff --git a/test/Parser/char-literal-printing.c b/test/Parser/char-literal-printing.c index edb0c190c8..27dd63a4fc 100644 --- a/test/Parser/char-literal-printing.c +++ b/test/Parser/char-literal-printing.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -ast-print %s // RUN: %clang_cc1 -x c++ -ast-print %s -// RUN: %clang_cc1 -x c++ -std=c++0x -ast-print %s +// RUN: %clang_cc1 -x c++ -std=c++11 -ast-print %s #include <stddef.h> diff --git a/test/Parser/cxx-default-delete.cpp b/test/Parser/cxx-default-delete.cpp index a3d5b2c1d9..f34f6fb014 100644 --- a/test/Parser/cxx-default-delete.cpp +++ b/test/Parser/cxx-default-delete.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s +// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s int i = delete; // expected-error{{only functions}} int j = default; // expected-error{{special member functions}} diff --git a/test/Parser/cxx0x-attributes.cpp b/test/Parser/cxx0x-attributes.cpp index 94ea34d503..e762b57a93 100644 --- a/test/Parser/cxx0x-attributes.cpp +++ b/test/Parser/cxx0x-attributes.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++11 %s // Declaration syntax checks [[]] int before_attr; diff --git a/test/Parser/cxx0x-lambda-expressions.cpp b/test/Parser/cxx0x-lambda-expressions.cpp index 54281e3082..b4fe4cca7d 100644 --- a/test/Parser/cxx0x-lambda-expressions.cpp +++ b/test/Parser/cxx0x-lambda-expressions.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s class C { diff --git a/test/Parser/cxx0x-literal-operators.cpp b/test/Parser/cxx0x-literal-operators.cpp index a161374a41..4fcbad490d 100644 --- a/test/Parser/cxx0x-literal-operators.cpp +++ b/test/Parser/cxx0x-literal-operators.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s void operator "" (const char *); // expected-error {{expected identifier}} void operator "k" foo(const char *); // expected-error {{string literal after 'operator' must be '""'}} \ diff --git a/test/Parser/cxx0x-member-initializers.cpp b/test/Parser/cxx0x-member-initializers.cpp index b5714c1782..a324f974bc 100644 --- a/test/Parser/cxx0x-member-initializers.cpp +++ b/test/Parser/cxx0x-member-initializers.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s // Make sure we don't run off the end of the stream when parsing a deferred // initializer. diff --git a/test/Parser/cxx0x-override-control-keywords.cpp b/test/Parser/cxx0x-override-control-keywords.cpp index 91d5132feb..444862a5c8 100644 --- a/test/Parser/cxx0x-override-control-keywords.cpp +++ b/test/Parser/cxx0x-override-control-keywords.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s struct Base { virtual void override(); diff --git a/test/Parser/cxx0x-rvalue-reference.cpp b/test/Parser/cxx0x-rvalue-reference.cpp index ae568e8859..e57e6013e5 100644 --- a/test/Parser/cxx0x-rvalue-reference.cpp +++ b/test/Parser/cxx0x-rvalue-reference.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s int && r1(int &&a); diff --git a/test/Parser/objcxx0x-lambda-expressions.mm b/test/Parser/objcxx0x-lambda-expressions.mm index d100e2e488..937464918b 100644 --- a/test/Parser/objcxx0x-lambda-expressions.mm +++ b/test/Parser/objcxx0x-lambda-expressions.mm @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s class C { diff --git a/test/Parser/top-level-semi-cxx0x.cpp b/test/Parser/top-level-semi-cxx0x.cpp index 592483c86b..be342a2257 100644 --- a/test/Parser/top-level-semi-cxx0x.cpp +++ b/test/Parser/top-level-semi-cxx0x.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++0x -verify %s +// RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++11 -verify %s void foo(); |