]> granicus.if.org Git - clang/commitdiff
Update all tests other than Driver/std.cpp to use -std=c++11 rather than
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Oct 2011 22:29:44 +0000 (22:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Oct 2011 22:29:44 +0000 (22:29 +0000)
-std=c++0x. Patch by Ahmed Charles!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141900 91177308-0d34-0410-b5e6-96231b3b80d8

329 files changed:
test/Analysis/PR9741.cpp
test/Analysis/misc-ps-cxx0x.cpp
test/Analysis/nullptr.cpp
test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp
test/CXX/basic/basic.scope/basic.scope.local/p4-0x.cpp
test/CXX/basic/basic.scope/basic.scope.pdecl/p3.cpp
test/CXX/basic/basic.types/p10.cpp
test/CXX/class.access/class.friend/p3-cxx0x.cpp
test/CXX/class.derived/class.virtual/p3-0x.cpp
test/CXX/class/class.bit/p2.cpp
test/CXX/class/class.mem/p5-0x.cpp
test/CXX/class/class.mem/p8-0x.cpp
test/CXX/class/class.nest/p1-cxx0x.cpp
test/CXX/class/class.static/class.static.data/p3.cpp
test/CXX/class/p1-0x.cpp
test/CXX/class/p2-0x.cpp
test/CXX/class/p6-0x.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.def/p7.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.def/p8.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p3-cxx0x.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p2.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p6.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p8.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p9.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p2.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p4.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p2-0x.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p4-cxx0x.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/p3-0x.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p1-0x.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-0x.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p1.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-0x.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-cxx0x-no-extra-copy.cpp
test/CXX/dcl.decl/dcl.init/p14-0x.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.array/p1-cxx0x.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/p2.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p13.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p14.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p2-cxx0x.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6-0x.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p8-0x.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p9-0x.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.ref/p6-0x.cpp
test/CXX/dcl.decl/p4-0x.cpp
test/CXX/except/except.spec/canonical.cpp
test/CXX/except/except.spec/p1.cpp
test/CXX/except/except.spec/p11.cpp
test/CXX/except/except.spec/p14.cpp
test/CXX/except/except.spec/p15.cpp
test/CXX/except/except.spec/p2-places.cpp
test/CXX/except/except.spec/p3.cpp
test/CXX/except/except.spec/p5-pointers.cpp
test/CXX/except/except.spec/p5-virtual.cpp
test/CXX/except/except.spec/p9-noexcept.cpp
test/CXX/except/except.spec/template.cpp
test/CXX/expr/expr.cast/p4-0x.cpp
test/CXX/expr/expr.const/p2-0x.cpp
test/CXX/expr/expr.mptr.oper/p6-0x.cpp
test/CXX/expr/expr.post/expr.call/p7-0x.cpp
test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp
test/CXX/expr/expr.post/expr.dynamic.cast/p3-0x.cpp
test/CXX/expr/expr.post/expr.reinterpret.cast/p1-0x.cpp
test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp
test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp
test/CXX/expr/expr.prim/p12-0x.cpp
test/CXX/expr/expr.prim/p4-0x.cpp
test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp
test/CXX/expr/expr.unary/expr.new/p20-0x.cpp
test/CXX/expr/expr.unary/expr.sizeof/p5-0x.cpp
test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
test/CXX/lex/lex.literal/lex.ccon/p1.cpp
test/CXX/lex/lex.literal/lex.ext/p1.cpp
test/CXX/lex/lex.pptoken/p3-0x.cpp
test/CXX/over/over.built/p23.cpp
test/CXX/over/over.built/p25.cpp
test/CXX/over/over.load/p2-0x.cpp
test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.user/p3-0x.cpp
test/CXX/over/over.match/over.match.best/over.ics.rank/p3-0x.cpp
test/CXX/over/over.match/over.match.funcs/p4-0x.cpp
test/CXX/special/class.copy/implicit-move-def.cpp
test/CXX/special/class.copy/implicit-move.cpp
test/CXX/special/class.copy/p11.0x.copy.cpp
test/CXX/special/class.copy/p11.0x.move.cpp
test/CXX/special/class.copy/p15-0x.cpp
test/CXX/special/class.copy/p33-0x.cpp
test/CXX/special/class.ctor/p4-0x.cpp
test/CXX/special/class.ctor/p5-0x.cpp
test/CXX/special/class.dtor/p2-0x.cpp
test/CXX/special/class.dtor/p3-0x.cpp
test/CXX/special/class.inhctor/elsewhere.cpp
test/CXX/special/class.inhctor/p3.cpp
test/CXX/special/class.inhctor/p7.cpp
test/CXX/special/class.init/class.base.init/p8-0x.cpp
test/CXX/special/class.init/class.base.init/p9-0x.cpp
test/CXX/special/class.temporary/p1.cpp
test/CXX/stmt.stmt/stmt.dcl/p3-0x.cpp
test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp
test/CXX/temp/temp.arg/temp.arg.template/p3-0x.cpp
test/CXX/temp/temp.arg/temp.arg.type/p2-cxx0x.cpp
test/CXX/temp/temp.decls/p3.cpp
test/CXX/temp/temp.decls/temp.alias/p1.cpp
test/CXX/temp/temp.decls/temp.alias/p2.cpp
test/CXX/temp/temp.decls/temp.alias/p3.cpp
test/CXX/temp/temp.decls/temp.class.spec/p8-0x.cpp
test/CXX/temp/temp.decls/temp.class.spec/p9-0x.cpp
test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3-0x.cpp
test/CXX/temp/temp.decls/temp.variadic/deduction.cpp
test/CXX/temp/temp.decls/temp.variadic/example-bind.cpp
test/CXX/temp/temp.decls/temp.variadic/example-function.cpp
test/CXX/temp/temp.decls/temp.variadic/example-tuple.cpp
test/CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp
test/CXX/temp/temp.decls/temp.variadic/injected-class-name.cpp
test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp
test/CXX/temp/temp.decls/temp.variadic/multi-level-substitution.cpp
test/CXX/temp/temp.decls/temp.variadic/p1.cpp
test/CXX/temp/temp.decls/temp.variadic/p2.cpp
test/CXX/temp/temp.decls/temp.variadic/p4.cpp
test/CXX/temp/temp.decls/temp.variadic/p5.cpp
test/CXX/temp/temp.decls/temp.variadic/parameter-matching.cpp
test/CXX/temp/temp.decls/temp.variadic/partial-ordering.cpp
test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-0x.cpp
test/CXX/temp/temp.fct.spec/temp.arg.explicit/p9-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/cwg1170.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p1-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p12.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p9-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p10-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p2-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p21.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p22.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p5-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p8-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp
test/CXX/temp/temp.param/p10-0x.cpp
test/CXX/temp/temp.param/p11-0x.cpp
test/CXX/temp/temp.param/p15-cxx0x.cpp
test/CXX/temp/temp.param/p9-0x.cpp
test/CXX/temp/temp.res/temp.dep/temp.dep.type/p1.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
test/CXX/temp/temp.spec/temp.explicit/p1-0x.cpp
test/CXX/temp/temp.spec/temp.explicit/p3-0x.cpp
test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp
test/CXX/temp/temp.spec/temp.explicit/p9.cpp
test/CXX/temp/temp.type/p1-0x.cpp
test/CodeGen/char-literal.c
test/CodeGen/string-literal.c
test/CodeGenCXX/PR5050-constructor-conversion.cpp
test/CodeGenCXX/array-construction.cpp
test/CodeGenCXX/array-operator-delete-call.cpp
test/CodeGenCXX/cast-conversion.cpp
test/CodeGenCXX/constructor-conversion.cpp
test/CodeGenCXX/constructor-default-arg.cpp
test/CodeGenCXX/constructor-for-array-members.cpp
test/CodeGenCXX/constructor-init.cpp
test/CodeGenCXX/constructor-template.cpp
test/CodeGenCXX/conversion-function.cpp
test/CodeGenCXX/convert-to-fptr.cpp
test/CodeGenCXX/copy-assign-synthesis-1.cpp
test/CodeGenCXX/cxx0x-defaulted-templates.cpp
test/CodeGenCXX/cxx0x-delegating-ctors.cpp
test/CodeGenCXX/cxx0x-initializer-scalars.cpp
test/CodeGenCXX/debug-info-char16.cpp
test/CodeGenCXX/debug-info-cxx0x.cpp
test/CodeGenCXX/debug-info-nullptr.cpp
test/CodeGenCXX/derived-to-base-conv.cpp
test/CodeGenCXX/dynamic-cast-always-null.cpp
test/CodeGenCXX/eh.cpp
test/CodeGenCXX/for-range-temporaries.cpp
test/CodeGenCXX/for-range.cpp
test/CodeGenCXX/global-array-destruction.cpp
test/CodeGenCXX/mangle-alias-template.cpp
test/CodeGenCXX/mangle-exprs.cpp
test/CodeGenCXX/mangle-ref-qualifiers.cpp
test/CodeGenCXX/mangle-unnameable-conversions.cpp
test/CodeGenCXX/mangle-variadic-templates.cpp
test/CodeGenCXX/mangle.cpp
test/CodeGenCXX/member-init-anon-union.cpp
test/CodeGenCXX/member-init-ctor.cpp
test/CodeGenCXX/nullptr.cpp
test/CodeGenCXX/pr9965.cpp
test/CodeGenCXX/ptr-to-member-function.cpp
test/CodeGenCXX/reinterpret-cast.cpp
test/CodeGenCXX/rvalue-references.cpp
test/CodeGenCXX/scoped-enums.cpp
test/CodeGenCXX/static-assert.cpp
test/CodeGenCXX/union-dtor.cpp
test/CodeGenCXX/vararg-conversion-ctor.cpp
test/CodeGenCXX/variadic-templates.cpp
test/CodeGenObjCXX/arc-move.mm
test/CodeGenObjCXX/block-in-template-inst.mm
test/FixIt/fixit-cxx0x.cpp
test/Index/annotate-tokens-cxx0x.cpp
test/Index/in-class-init.cpp
test/Index/usrs-cxx0x.cpp
test/Lexer/cxx0x_keyword.cpp
test/Lexer/cxx0x_raw_string_delim_length.cpp
test/Lexer/cxx0x_raw_string_unterminated.cpp
test/Lexer/has_feature_cxx0x.cpp
test/Lexer/string_concat.cpp
test/Lexer/utf8-char-literal.cpp
test/Misc/diag-aka-types.cpp
test/PCH/cxx-alias-decl.cpp
test/PCH/cxx-for-range.cpp
test/PCH/cxx-implicit-moves.cpp
test/PCH/cxx-member-init.cpp
test/PCH/cxx-reference.cpp
test/PCH/cxx-static_assert.cpp
test/PCH/cxx-variadic-templates.cpp
test/PCH/cxx0x-default-delete.cpp
test/PCH/cxx0x-delegating-ctors.cpp
test/PCH/cxx_exprs.cpp
test/Parser/PR11000.cpp
test/Parser/char-literal-printing.c
test/Parser/cxx-default-delete.cpp
test/Parser/cxx0x-attributes.cpp
test/Parser/cxx0x-lambda-expressions.cpp
test/Parser/cxx0x-literal-operators.cpp
test/Parser/cxx0x-member-initializers.cpp
test/Parser/cxx0x-override-control-keywords.cpp
test/Parser/cxx0x-rvalue-reference.cpp
test/Parser/objcxx0x-lambda-expressions.mm
test/Parser/top-level-semi-cxx0x.cpp
test/Preprocessor/init.c
test/SemaCXX/PR10243.cpp
test/SemaCXX/PR5086-ambig-resolution-enum.cpp
test/SemaCXX/PR8012.cpp
test/SemaCXX/PR9902.cpp
test/SemaCXX/PR9908.cpp
test/SemaCXX/abstract.cpp
test/SemaCXX/aggregate-initialization.cpp
test/SemaCXX/alias-template.cpp
test/SemaCXX/alignof-sizeof-reference.cpp
test/SemaCXX/ambiguous-builtin-unary-operator.cpp
test/SemaCXX/attr-cxx0x.cpp
test/SemaCXX/auto-cxx0x.cpp
test/SemaCXX/auto-subst-failure.cpp
test/SemaCXX/builtin-ptrtomember-ambig.cpp
test/SemaCXX/builtin-ptrtomember-overload-1.cpp
test/SemaCXX/builtin-ptrtomember-overload.cpp
test/SemaCXX/cast-conversion.cpp
test/SemaCXX/conditional-expr.cpp
test/SemaCXX/conversion-delete-expr.cpp
test/SemaCXX/cxx0x-class.cpp
test/SemaCXX/cxx0x-constexpr-const.cpp
test/SemaCXX/cxx0x-cursory-default-delete.cpp
test/SemaCXX/cxx0x-defaulted-functions.cpp
test/SemaCXX/cxx0x-delegating-ctors.cpp
test/SemaCXX/cxx0x-deleted-default-ctor.cpp
test/SemaCXX/cxx0x-initializer-scalars.cpp
test/SemaCXX/cxx0x-nontrivial-union.cpp
test/SemaCXX/cxx0x-type-convert-construct.cpp
test/SemaCXX/decl-init-ref.cpp
test/SemaCXX/decltype-overloaded-functions.cpp
test/SemaCXX/decltype-pr4444.cpp
test/SemaCXX/decltype-pr4448.cpp
test/SemaCXX/decltype-this.cpp
test/SemaCXX/decltype.cpp
test/SemaCXX/defaulted-ctor-loop.cpp
test/SemaCXX/deleted-function.cpp
test/SemaCXX/deleted-operator.cpp
test/SemaCXX/dependent-auto.cpp
test/SemaCXX/dependent-noexcept-unevaluated.cpp
test/SemaCXX/dependent-types.cpp
test/SemaCXX/destructor.cpp
test/SemaCXX/enum-bitfield.cpp
test/SemaCXX/enum-scoped.cpp
test/SemaCXX/explicit.cpp
test/SemaCXX/for-range-examples.cpp
test/SemaCXX/for-range-no-std.cpp
test/SemaCXX/for-range-unused.cpp
test/SemaCXX/generalized-initializers.cpp
test/SemaCXX/generic-selection.cpp
test/SemaCXX/implicit-exception-spec.cpp
test/SemaCXX/issue547.cpp
test/SemaCXX/literal-operators.cpp
test/SemaCXX/literal-type.cpp
test/SemaCXX/member-init.cpp
test/SemaCXX/microsoft-cxx0x.cpp
test/SemaCXX/nullptr.cpp
test/SemaCXX/nullptr_in_arithmetic_ops.cpp
test/SemaCXX/overload-0x.cpp
test/SemaCXX/overloaded-builtin-operators-0x.cpp
test/SemaCXX/ptrtomember-overload-resolution.cpp
test/SemaCXX/ptrtomember.cpp
test/SemaCXX/redeclared-alias-template.cpp
test/SemaCXX/redeclared-auto.cpp
test/SemaCXX/ref-init-ambiguous.cpp
test/SemaCXX/return-noreturn.cpp
test/SemaCXX/rval-references-examples.cpp
test/SemaCXX/rval-references.cpp
test/SemaCXX/scope-check.cpp
test/SemaCXX/static-assert.cpp
test/SemaCXX/switch-0x.cpp
test/SemaCXX/trailing-return-0x.cpp
test/SemaCXX/trivial-constructor.cpp
test/SemaCXX/trivial-destructor.cpp
test/SemaCXX/type-traits.cpp
test/SemaCXX/underlying_type.cpp
test/SemaCXX/unused-functions.cpp
test/SemaCXX/value-initialization.cpp
test/SemaCXX/virtual-override.cpp
test/SemaCXX/virtuals.cpp
test/SemaObjCXX/arc-0x.mm
test/SemaObjCXX/nullptr.mm
test/SemaTemplate/alias-church-numerals.cpp
test/SemaTemplate/alias-nested-nontag.cpp
test/SemaTemplate/alias-template-template-param.cpp
test/SemaTemplate/alias-templates.cpp
test/SemaTemplate/canonical-expr-type-0x.cpp
test/SemaTemplate/default-arguments-cxx0x.cpp
test/SemaTemplate/delegating-constructors.cpp
test/SemaTemplate/dependent-names.cpp
test/SemaTemplate/instantiate-array.cpp
test/SemaTemplate/instantiate-expr-basic.cpp
test/SemaTemplate/instantiate-try-catch.cpp
test/SemaTemplate/resolve-single-template-id.cpp
test/SemaTemplate/temp_explicit_cxx0x.cpp
test/SemaTemplate/unresolved-construct.cpp

index e20e56c9406ae4a377d0a1ca3e5031a2abfd07a0..7497d5627c918d97d1d6a27e41730f3e2c80be80 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -cc1 -std=c++0x -Wuninitialized -verify %s
+// RUN: %clang_cc1 -cc1 -std=c++11 -Wuninitialized -verify %s
 
 void f() {
   int a[] = { 1, 2, 3 };
index b00164ca4769d99817dc83f54e1bd942f2a2228d..53b6fa29ad6eb390f780800869a52093e263350b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang --analyze -std=c++0x %s -Xclang -verify -o /dev/null
+// RUN: %clang --analyze -std=c++11 %s -Xclang -verify -o /dev/null
 
 void test_static_assert() {
   static_assert(sizeof(void *) == sizeof(void*), "test_static_assert");
index 6f78baebfe22a48d7d646ea62412f78c5c207424..fc7e7ef482b81105c7b08be6fd1a85fdbd6366f9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -analyze -analyzer-checker=core -analyzer-store region -verify %s
+// RUN: %clang_cc1 -std=c++11 -analyze -analyzer-checker=core -analyzer-store region -verify %s
 
 // test to see if nullptr is detected as a null pointer
 void foo1(void) {
index 355ac4a2ecad8738585653a8c1efc65996672343..c745c8451bc8614fd0067c9f3ac5aca31f28acde 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 // XFAIL: *
 // Our C++0x doesn't currently have specialized destructor name handling,
 // since the specification is still in flux.
index d930f97ce79156fc6bcbe0f04aaac694cd7ca18c..cd51c78a5e9c1f5bb43b1b8f86f7d5cf93c6a81a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 void f() {
   int b;
index 751c0df6b8673dc68754234df03ace9edfa5b7f0..407a5f744e370267e9a23f8ba49eb6d68708247c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // Classes.
 namespace Class {
index 614272b91209c5e58cf92beb0032e317c4b458c6..3b438d15f28bfd46d22821c270e9da853624af71 100644 (file)
@@ -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 NonLiteral { NonLiteral(); };
 
index 4f55e5339ab2d9e6533a75107478881a45cf52d6..00fc0a33bef28c8512dbc72a2ecc058e6a951704 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 template<typename T>
 class X0 {
   friend T;
index 4bd9efda1f6c9b3791b45cbfc931a2328de8619b..c4a401bb27c5817f046fc9e96e52a94e27deb427 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s 
 
 namespace Test1 {
 
index a849664593d172dda038f9117c8249fec05916cc..7962330d1612a326e0881b9e77158b715992adfe 100644 (file)
@@ -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 A {
 private: 
index 78560e2d5daafda33efea49edbe1a5ad50de9ba2..6061c4c20a675526330a2dcdb2e15a9751353326 100644 (file)
@@ -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 f();
 
index 836ebad48ee15c58d6bfb178a49acecb495a9d1e..d2c3dc36075bb9bc4442ac260c6cdbd1c78fde90 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s 
 
 struct Base1 { 
   virtual void g();
index f8b06ac5f7e3dd4549f07eb5e1b0114eada4a991..0f12579ee4f896efea4e97f74bc1142119b74c6c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 class Outer {
   int x;
index 82460c5d96208d4f15328dc2f3eeb0c9508771e6..007e416e6a492f4685dc7dea48229f80de796656 100644 (file)
@@ -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 NonLit {
   NonLit();
index e677dec4caf1fa783ab658a9ec8d03d0a9bcd7dc..be5fdffb43f4ae7c0c63b75677e8ba958c9a55e0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 namespace Test1 {
 
 class A final { };
index 630aa7e70f90c338a619d7efc6dee8afc20d2d02..dbb01e5ad5285cca07d11e0a217aabc081ff3022 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 namespace Test1 {
 
 class A final { }; // expected-note {{'A' declared here}}
index fc83e065fa6f321ce3ac1d4eeea283aba701f1ea..3384af09c7884985b1bd2eaef04e97def0bfb6bc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 class Trivial { int n; void f(); };
 class NonTrivial1 { NonTrivial1(const NonTrivial1 &); };
index e3d3d683ceb790ad781401e3ea2d982678d7c1d6..98d12f99a59876d186072474a9991949a6994710 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 namespace NIL {} // expected-note {{previous definition}}
 inline namespace NIL {} // expected-error {{cannot be reopened as inline}}
index 7c4a21c35a7dcf247072fa7daa0abb8c38da8aa7..3bc485601ca5fe5f9beca205e0e9214423594125 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // Fun things you can do with inline namespaces:
 
index 3f3bf4a2eccb27ba635da6350d9496857b0287b1..f61437ead6e4978d2fd87b027a16f8ad7aafb352 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 // C++0x N2914.
 
 struct B {
index 9eaf35fc185d9d02f1b0251c22ca8b5628ae8f2c..ed98c1e9c56d3a56aba27408904603bc89dcb59d 100644 (file)
@@ -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 notlit {
   notlit() {}
index 77a3e26de4740baeb49a88a1d8c8d9e42e90b4b1..001a086a008b63e8cc323100600adf891a8d1396 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o - | FileCheck %s
 
 // constexpr functions and constexpr constructors are implicitly inline.
 struct S {
index 2a10b0832f3849a405db603b0111dec5ac525341..03406dbf918a4297c370f4476896c58abc8966da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -std=c++0x %s
+// RUN: %clang_cc1 -verify -std=c++11 %s
 
 namespace N {
   typedef char C;
index 804ea9abddcf6b9e1cece0604c19f21c726394cd..9218bcf45bb4721eec495d1491c4125e87d1a480 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -std=c++0x -fcxx-exceptions %s
+// RUN: %clang_cc1 -verify -std=c++11 -fcxx-exceptions %s
 
 namespace N {
   typedef char C;
index ab45e92799c30f52775a59549abb1c44ebe34cba..e383bc09226c851f83b694725d418df3618cda37 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -std=c++0x %s
+// RUN: %clang_cc1 -verify -std=c++11 %s
 
 namespace N {
   typedef char C;
index a5c21e8f37c610fdad72c319fa89a8723d6766b9..f7da24dfc20a5d22bcd1994d711b0460facb6d06 100644 (file)
@@ -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 S {
   constexpr void f();
index 9b2120c3e763c1e7f9bd873fa1f9444ab75f0178..53d232d8a90ad5842b5afcc2c1020423825b6a8f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // A constexpr specifier used in an object declaration declares the object as
 // const.
index 1b1f11a660b59576579b7278b501f61b07ae1ccc..7b5577520d4212121930091b1fe28efc21610d70 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify %s -std=c++11
 
 struct S {
   virtual ~S();
index fdca88591cec913a0d50be3911fa9d45b40019de..682ee9f7e4ec94e345ead87ee531400405eaa8eb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98 -Wno-c++0x-extensions
 void f() {
   auto a = a; // expected-error{{variable 'a' declared with 'auto' type cannot appear in its own initializer}}
index d5d0952aa858b5fd15efde5f7d7f38b164a428a0..095c031a1a0ed328801c6a33d81227fc6a05a9cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98 -Wno-c++0x-extensions
 
 template<typename T>
index 54da854dab552bd9976a9771eda0f5caa3b5e9e4..a52ef41504ac8e44694677082096181c3d6c5ffd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify %s -std=c++11
 
 struct S {
   virtual ~S();
index c150a6123cd5761c2de0a6356a66d85a3d18b6b7..7ed4daec5dec116b536521adbf892be07d8b0ccb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98 -Wno-c++0x-extensions
 
 template<typename T>
index 9a3689f1c428785b06ef89e594fb31edaf895b35..4f230cfb8d40b0e9d37ea0d5a4732f792a008d6c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98 -Wno-c++0x-extensions
 void f() {
   auto a = 0, b = 0, c = 0;
index 81204d89a697fca97dff6392b07d601b4b994b96..027104151ac688dd9f36b06a1c409acc3c9fb56d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct A { typedef int type; };
 template<typename T> using X = A; // expected-note {{declared here}}
index 19159e159a0cb5c6129a0b0ed1244dec5c52197c..bc60b5e55a33510117c2f3aed59ae9d999ac4759 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 template<typename T, typename U>
 struct is_same {
index 9f88c03a624c7733047e498e27c78d5b5be54a01..e32774a2ee0f5e6ab0a4e23536146a765ddb3146 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 using X = struct { // ok
 };
index a51cfbfffccebe4db7315f766c1db2fae54c72ff..0ff40bccef9f0f128d46cd84f172ff04e67406a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -std=c++0x %s
+// RUN: %clang_cc1 -verify -std=c++11 %s
 
 namespace RedeclAliasTypedef {
   typedef int T;
index 146313392aebd9de65419955de304cec04562aa4..b8c1e18a2e1357c05e7ddae64feb509dbf21d80f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // An aggregate is an array or a class...
 struct Aggr {
index 08f7e76d56ae2ade44d42f7fb49f01ca6b8fe7aa..2294a4eb089409b5e3066f45f8f0c73b6875c36c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -triple x86_64-apple-macosx10.6.7 -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -triple x86_64-apple-macosx10.6.7 -verify %s
 
 // Verify that narrowing conversions in initializer lists cause errors in C++0x
 // mode.
index bd08ab5423b0fc415524336277fe8c0cb88b870d..20c059eab6f350f92d94c28d801c7f05cff111ec 100644 (file)
@@ -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 g(int);
 void f() {
   int i; 
index c1d34941d4c4809dbae52555cc85c83ad30bd72e..95cc56cbab5361ca17793d0abb7e678f9b9cc710 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -pedantic %s
 
 // Test the C++0x-specific reference initialization rules, e.g., the
 // rules for rvalue references.
index 5cfb11a1fc1b5877b897abbb0dfe710b394a5b2c..27eb6d1c078f2fafeb8a59a74b4af9435db2bc4e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // C++03 requires that we check for a copy constructor when binding a
 // reference to a reference-compatible rvalue, since we are allowed to
index f4fad3ef148494bbd92ccc33ee48206e46c580a6..419f2bff1282b0cd76941f27e9399428e6ebc06f 100644 (file)
@@ -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 NoDefault {
   NoDefault() = delete; // expected-note {{here}}
index b0575b8236bb408c4c724df8fa595aa8e22306a4..102746c3db292d26177bb0c36364bfb934ee7db0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 void f() {
   int b[5];
index 55adbf0c125e4efb1deb6e4d6d14a00a2f12950e..a879829066314be11ce98c057328063d89eb8f3f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // FIXME: test with non-std qualifiers
 
index 868d009003eef9971fc7f94c2db811da63d122b5..19a5f23e3f17c1acca0a38b71d63f80194e8370c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -fcxx-exceptions -fexceptions -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -fcxx-exceptions -fexceptions -verify %s
 
 // When it is part of a parameter-declaration-clause, the parameter
 // pack is a function parameter pack.
index 1293a067576ab9ce6cc1661fd82b7585c794ba1a..0e69521fbdfca7c7537cf033928c6cf42f7859b1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T> struct identity;
 template<typename ...Types> struct tuple;
index 70c9aeb48819c4a1a1bece28655e00876a69376e..6b1f3e438d8f1d988e909bf14bf686d319f06cfd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s 
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 
 
 auto a() -> int; // ok
 const auto b() -> int; // expected-error {{function with trailing return type must specify return type 'auto', not 'auto const'}}
index c81c844f3448eddb623316e6ac9be95163678781..ce0a082462a218970d021012052f6b8c68d7f4c8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 void f0() &; // expected-error{{ref-qualifier '&' is only allowed on non-static member functions, member function pointers, and typedefs of function types}}
 void f1() &&; // expected-error{{ref-qualifier '&&' is only allowed on non-static member functions, member function pointers, and typedefs of function types}}
index 21efbfff1ab9e31a9cb6bd33a334007100c19c3d..11926f1bd6cbef47198f6ba50a047f629c214b20 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 auto f() -> int[32]; // expected-error{{function cannot return array}}
 auto g() -> int(int); // expected-error{{function cannot return function}}
index ca4701554be4bcac325d8e481238f796a5c4cc0f..4d71a8e4b4c63c2b0fc1b74f474d3db5f3f251af 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 auto j() -> enum { e3 }; // expected-error{{can not be defined in a type specifier}}
index 789cde75241af68018bb592741d9ea348216dc21..4ce80bc35ac9dfd812eb82a7324ccbbb42629f48 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T, typename U> 
 struct is_same {
index 9fa2ea19d4119869ca2ef54e0d92dbd9a65f719d..98c33b25f4d2f19bd63244f7b23060a5aa16a979 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct X {
   void f() &;
index 9bc26de144407ce851ef727fae24996def227d86..81ca2ae0a20edfe2d099352e2517eade5b6522b4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // PR10087: Make sure that we don't conflate exception specifications
 // from different functions in the canonical type system.
index b45580a21c1f2e7970c3b65529d0d831eb50b5fe..a6e785024778840c5b74dd6020368b6345deb5bd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
 
 // Simple parser tests, dynamic specification.
 
index 268b53ad79d04b35c756a1fb9d60ce41816f3621..0e4fad53e350d92407c3dc24a01bf92912548b7f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
 
 // This is the "let the user shoot himself in the foot" clause.
 void f() noexcept {
index f42fbe907ffecf2c30e0a9fea4a2a9bd3704aee2..8763a7028195357fe04914aad2c7a8b988a3e466 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -verify -std=c++0x %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -verify -std=c++11 %s
 struct A { };
 struct B { };
 struct C { };
index 2dae9623e0ccf5642bfd752c468c84de7b9ccec9..110ec3fa0300e1b72854e5b92fa0d6dbad9ac13a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
 
 // Deallocation functions are implicitly noexcept.
 // Thus, explicit specs aren't allowed to conflict.
index db1ee77463fb3f0580a02795cb50e33ccae24a90..67647fb043a9830e1af28e304fd266544c16fc77 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
 
 // Tests where specs are allowed and where they aren't.
 
index 5df5f26a8f8f785cc9901c37d5147e8e6914109d..d77aea40602c9533dab1db1f095e84d51b3469c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
 
 // Exception specification compatibility.
 // We test function pointers, because functions have an extra rule in p4.
index 171afff22b5b95fadfc49acbfa80d047515467bb..dd3c0600ce92ac4b3847127223f6b77e0df7ea1c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
 
 // Assignment of function pointers.
 
index ceea9f8f2500cac7aff7297c6fc50af56000c556..69daec6ee533479f5c4ab7d3b093e4382399cb28 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
 
 // Compatibility of virtual functions.
 
index 7b2a259e195c98cba00524dcb1c40a757046e374..7c8d0ef1fb447e0bc91bbdbb5eebbc754b1cf09e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -std=c++0x -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s
+// RUN: %clang_cc1 %s -std=c++11 -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s
 
 void external();
 
index f8b7270344a765f2057d3c56609051ef3cdcfb8e..805a604db5882c67712b8db3961b42cccaf90596 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
 
 // We use pointer assignment compatibility to test instantiation.
 
index 5824cd21f1e77290f2a3d9645c47fb89e81a4cb6..96bf5f91196bbc2b3166ae42bea30c0773eb49f3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct X { };
 struct Y : X { };
index 1b38cf19b42e3d206d3d46c07044dbd27e2ff6cb..2c6a46b3beaf26f2847d9299fdb89ace327debb1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 // PR9999
 template<bool v>
index d5dc7d2cbe58031cebd015bd99b7e4c0f70d5eed..917b2dab7c328fa111e5659cfe0fede206e86548 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct X { };
 
index bb4726dd3309aec1bd384d42bbe289be5aaf56c0..e6ffebc8d84feb3d407f765bec4a0ba2d26bccfe 100644 (file)
@@ -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 X1 {
   X1();
index d46488107ba69655522871bf6a1de30adcc0c384..6ba8d519346e5f645f0afa1e7eef4af09696a5e0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // The result of the expression const_cast<T>(v) is of type T. If T is
 // an lvalue reference to object type, the result is an lvalue; if T
index 3b448a80db2b62aeeba292ffb1b25ce147355d03..cddd5cf25e3bc4a45544156d80704fd9ce210fce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct X { virtual ~X(); };
 struct Y : public X { };
index e80082a0408a12dbf44c3e442d10ffc2c96f8adf..22892a63ab16c6ea764e70fb038baa2768ae4779 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // If T is an lvalue reference type or an rvalue reference to function
 // type, the result is an lvalue; if T is an rvalue reference to
index c10335183e213fae799f95aad288f3f729055416..9ef15e6642b1bc424017246c88e8c22df6b15456 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // A glvalue of type "cv1 T1" can be cast to type "rvalue reference to
 // cv2 T2" if "cv2 T2" is reference-compatible with "cv1 T1" (8.5.3).
index 4acafb89acafbcd0ac20920ca7eea03c57d8b97e..731c508444285e88efb1c69ddc3c04faf146b391 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 enum class EC { ec1 };
 
index 0ff29a18825b0c4a496c7806cb71841e1b10696e..aec62ddd97a763eec0e7ce5161e37a7ad8c53f1d 100644 (file)
@@ -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 S {
   int *j = &nonexistent; // expected-error {{use of undeclared identifier 'nonexistent'}}
index 13735fab4a9deb0b305fd0043ab9149e68f1f3a6..143ba897ae95edfa83b467de1547b8e9f2efe690 100644 (file)
@@ -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 S {
   S *p = this; // ok
index c9a8887d264426f266183ce799e7ad4a02926ab1..4ebbfce289ea174d2e0fa8c9872e3c636a8ef2be 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 template<typename T>
 struct only {
index 4c924b137ccdfe38dd31791d0f3aa5b30167910a..eca1ec7901999294f36ca9c742609f9426c86ee8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x -fexceptions %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -fexceptions %s
 typedef __SIZE_TYPE__ size_t;
 
 struct S {
index 3824615415469f9876559aa6c003d7db869955df..afd8ef05302fc6351f43491675bbcc29f55db9b2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Test parsing + semantic analysis
 template<typename ...Types> struct count_types {
index 67d853a287f84637ec20515295f785be405bf76f..5c1029f1a3ff5cf9cb843b135f50fa4355bcb024 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -S -emit-llvm -std=c++0x -include %S/ser.h %s -o - | FileCheck %s
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -emit-pch -o %t-ser.pch -std=c++0x -x c++ %S/ser.h
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -S -emit-llvm -std=c++0x -include-pch %t-ser.pch %s -o - | FileCheck %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -S -emit-llvm -std=c++11 -include %S/ser.h %s -o - | FileCheck %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -emit-pch -o %t-ser.pch -std=c++11 -x c++ %S/ser.h
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -S -emit-llvm -std=c++11 -include-pch %t-ser.pch %s -o - | FileCheck %s
 
 struct D {
   ~D() throw();
index 6d1e523b51bf50673d0fe22966dfee5193329772..b5de1a7f8fee07acb4be839329b75d9cdc98dc8e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++0x -fms-extensions %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++11 -fms-extensions %s
 
 #define P(e) static_assert(noexcept(e), "expected nothrow")
 #define N(e) static_assert(!noexcept(e), "expected throw")
index b263036bed6df0e362ffc7c829b2fdacacdf09cf..5342153b63badc70b2d40f9d0d1a78b4381805de 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Check types of char literals
 extern char a;
index 717228b31e28129682092ca42b66aee536de84bc..39812280c0901bdcfde672c8396ad4cc17b437f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 int * operator "" p31(long double); // expected-warning{{user-defined literal with suffix 'p31' is preempted by C99 hexfloat extension}}
 long double operator "" _p31(long double);
index 4ae867c2095eec1bf60e32c25e22fe1542463164..3d56ac17bd5bdcaf5000c8cfa7fbcd9367669720 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 int a<::> = { 1, 2, 3 };
 int b = a<:::a<:0:>:>;
index c65b10804b27493f0a446b5998a6303638abc3f0..41255214ec6af9f9d2fd19e1ca97062d3264f5b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 struct Variant {
   template <typename T> operator T();
index c185fb4fb96d4f916ddfce5742263392ca2502d8..aea3854a420e4c821efdfe82fa4bb762fd0e50db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 enum class Color { Red, Green, Blue };
 
index f0ace9044a2d8e50ede32c055dc082cf30d0d645..cf38741056aba335c0a3e8b9650779edb7cc7435 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Member function declarations with the same name and the same
 // parameter-type-list as well as mem- ber function template
index d9e0ff88bd8d30fd21fba61a5109472414625fd1..1c71468e453dce7740f09642bbc6ec585da48c3e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 namespace PR6285 {
   template<typename T> struct identity 
index ab171bc3f6f42e39bbcd5e11fe17b4e7e35343c2..3971acc581696ebc26510ed153bdd8fddd013b0d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 namespace std_example {
   int i; 
   int f1(); 
index 8ccc5b6204d059f12a2f2469a626ec3c0ecc13d3..3845af09d14ca67ecee5de66e4f4af09c78abd23 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T> T &lvalue();
 template<typename T> T &&xvalue();
index fde80fbd7de716c9c0fe50c2faae15872e15d53f..94023cbc1d7be59009aa12cff8dde05809f0e7aa 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -emit-llvm -o - -std=c++0x %s | FileCheck -check-prefix=CHECK-ASSIGN %s
-// RUN: %clang_cc1 -emit-llvm -o - -std=c++0x %s | FileCheck -check-prefix=CHECK-CTOR %s
+// RUN: %clang_cc1 -emit-llvm -o - -std=c++11 %s | FileCheck -check-prefix=CHECK-ASSIGN %s
+// RUN: %clang_cc1 -emit-llvm -o - -std=c++11 %s | FileCheck -check-prefix=CHECK-CTOR %s
 
 // construct
 
index 2475f7b46f24ecac1d1d457f88fb0b53b3a08704..74f7eee9ee898a127a637637eb9f6be9fe9f22a1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // Tests for implicit (non-)declaration of move constructor and
 // assignment: p9, p11, p20, p23.
index 6024ffb43147367ea651d430f6357128f28c0657..752872adb9f5dc0492893cb81269725bc839bb75 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct NonTrivial {
   NonTrivial(const NonTrivial&);
index 424273c318ff553997c8423f8c9e483b50120f3b..402bc31d5eec9e43e128387d5e89813940331600 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct NonTrivial {
   NonTrivial(NonTrivial&&);
index 91cea03f585395649908a987ec119b40dd853e20..32b2714fd70288cf8117047d41c973888d1cdb5a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 namespace PR10622 {
   struct foo {
index b196865c8225b77bb0f27687b469a67a04c37c5f..b66e19ab4c4f922c5f115fe3b5ccfc7c2b13e0f9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -std=c++11 -fsyntax-only -verify %s
 class X {
   X(const X&);
 
index e3508e2e8c4765e05ce0d1d59ad67821554cf1e8..509beb490302c65a778b3857f9071a40c26e45c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // A constructor shall not be declared with a ref-qualifier.
 struct X {
index c1b00e45d60ab37f79d07f98534766e1cc0178b0..de2dea5be16b1e010c0133c13bbd28460d857580 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 struct DefaultedDefCtor1 {};
 struct DefaultedDefCtor2 { DefaultedDefCtor2() = default; };
index 53a2e033efc104683660528ed859e4f8d6c6fdd6..c7b1b586fbcb9b2933a58cf65b45ab11d3f379b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // A destructor shall not be declared with a ref-qualifier.
 struct X {
index 6cdd167983bce6a50d5bd2309b1db1ec90e44b1a..44bf5aa01978ed94d1cbdeffe6e56e771b9468c7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fexceptions -fcxx-exceptions -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -emit-llvm -o - %s | FileCheck %s
 
 struct A {
   ~A();
index 82944d65dfd108e2e9bbbe1653067631cfa9f73a..60cfff80889eae74c396b7fc856e7fbcc9bee9e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Tests related to constructor inheriting, but not specified in [class.inhctor]
 
index d989f7f7d13bb4943cae7ab37928cfb4c8d8fde6..989c17c8b462fbc3ee916c2b7c0a686efe803e58 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct B1 {
   B1(int);
index 3ad761f08baa1dce9d53784d078fc9a7aefc193e..736754d8a3e30ce21ce3374256bdaa2f5cca3eb6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Straight from the standard
 struct B1 {
index f857e3d6f11885646541ae54d6451dc55d7d7f5e..3e26e4992d0d8ed4285306aa2b3ef21edb503513 100644 (file)
@@ -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 n;
 struct S {
index 039b1c271a3dd30367881182e0f837869cf71de2..ca5e8072d82f7c251d4dd11422c37947b320fce7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -std=c++0x %s -O1 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -std=c++11 %s -O1 -emit-llvm -o - | FileCheck %s
 
 struct S {
   int n = 10;
index 07890eb297de6cbfb22cfb68f01e3144f81318ea..384b1f89fda8d12719f3ef83bf38f2d0440fa799 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 namespace test0 {
   struct A {
index 40b4c23841c8220ffc1beebb3ba27fe4b21e632d..574cb40c4670faf50e29923fe62cbf1f4d7b5980 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // PR10034
 struct X {};
index d842bff3cb2d5bfbaf18119d1734b6e8e2ee0a96..b157fd4b0f922d4240ab6c398d79d43a57838151 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 namespace std {
   template<typename T>
index 794a0502582baef37ac0012d1e12234beb9716b6..1c13bffa212f7c2f11f4f181135ca81612e5434e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template <class T> struct eval; // expected-note 3{{template is declared here}}
 
index 6f6286f710780b6cced67ef71e1e9704bb69f03b..b03ed46e92f0f5476b8ad452b49e28683a86f091 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 // C++03 imposed restrictions in this paragraph that were lifted with 0x, so we
 // just test that the example given now parses cleanly.
index 54800e4061ee033ad2995fb154de498044f624d0..41811ff165319aba30c4ee02e77e6c5dde0e6770 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T> using A = int;
 template<typename T> using A<T*> = char; // expected-error {{partial specialization of alias templates is not permitted}}
index 80079b33a53bee4675d1be6823baa91796fb1bde..966e3c10e5de1e36868bd4748104ab9ef6402d31 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T> using U = T;
 
index e145727a8dd7bbdd889245228b17f2f4af95c2a7..a5b39fe5c51f70c810f3cad21a06f6b410ce0603 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T> using U = T;
 
index 2e9e55cdcb6bd122f46a97aabb857611b4c3c730..afd9b4b0de30d719428c7596404402e4b113a351 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // The example given in the standard (this is rejected for other reasons anyway).
 template<class T> struct A;
index 14152cf339a8620736b2ecf4fa9b6d062188c84f..aa1e2d443fddb4fe4e396b09dbd22dae54f55f61 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<int ...Values> struct X1;
 
index d8e07b83e1be4d5534038bc177b9cec9b4b4b4dc..b754368600aa912a04d5e649e80bb6d05e2bd478 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // -- The argument list of the specialization shall not be identical
 //    to the implicit argument list of the primary template.
index 11ec28918e420639e227b0154f8ae2138ad74754..63909fb7cdbd4d2677e4bab7c91ef2ec8f4347c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // Core DR 532.
 namespace PR8130 {
index 383e268054b6db1cd1a5419476f2acf527d6362a..fec8060955e36d68206e6234dda2dc5151910975 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 namespace DeductionForInstantiation {
   template<unsigned I, typename ...Types>
index 83db1719b769b3e1aef82946c7cd3b486204ee39..db28eea98a544b08a0c9e924f98dd463b0ffade0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Example bind implementation from the variadic templates proposal,
 // ISO C++ committee document number N2080.
index b3d010c88d95aae0be114ff0ff4bdd6415520e34..e15203abc615028a328496a7ffc40b065379b092 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Example function implementation from the variadic templates proposal,
 // ISO C++ committee document number N2080.
index 3b4bd7777d5513b8732513e584f38f6b3fb4a393..9de5fa84b48a25a5d6148b57f5de855f4cf6c4f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Example tuple implementation from the variadic templates proposal,
 // ISO C++ committee document number N2080.
index 7375f98ec9c3288ca429e895fd50deb81a21804d..6d9d8c50af68e0fb3868c58be888c2c4b984ee0e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fblocks -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fblocks -fsyntax-only -verify %s
 
 // Tests the use of blocks with variadic templates.
 template<typename ...Args>
index a76ef8067dfd5ab407862f76826cc53456395ecd..b5786acf82a221eece5200a3cebd6b0a808777c1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Check for declaration matching with out-of-line declarations and
 // variadic templates, which involves proper computation of the
index d80182c1b657fcd74c6c22aaacaea89925fb951d..73cbd0749cbd26b235e42f5097c75c4de4ea5a1c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // This is a collection of various template metafunctions involving
 // variadic templates, which are meant to exercise common use cases.
index 22076fee989adebe62ae5700435ea7740bad7558..21aa24fb522d9f1ccc8b55962490931c50ff460f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T, T ...Values> struct value_tuple {};
 template<typename...> struct tuple { };
index 02f4c59b760b7ade52a1af8b32e1024099d0d440..daff9d189690320122304310afba0702c952e3a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<class ...Types> struct Tuple;
 
index 100ae2c52f9a7c6d9057954f709b4144c9bc3cb0..ce19582c22827ff3f5f5f40e72ffff34afd444e4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<class ... Types> void f(Types ... args);
 
index c852473ad2415af1dbcdc0045edb3cc85df4f8a0..05e492167cbee98739c2c88c524d6c3a034e513e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -fexceptions -fcxx-exceptions -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -fexceptions -fcxx-exceptions -verify %s
 
 template<typename... Types> struct tuple;
 template<int I> struct int_c;
index 25338e3bae67f8ae497bbaf87cbf4f0889dd3812..0f409e709e980fa8ccf82c628b2f761094296e86 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -std=c++0x -fblocks -fms-extensions -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -std=c++11 -fblocks -fms-extensions -fsyntax-only -verify %s
 
 template<typename T, typename U> struct pair;
 template<typename ...> struct tuple;
index 989ff9f6d9f52717723b0572e21a71ce2d6f64b6..79340c3741a8860b6029924e28b645aef32ca757 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Check for template type parameter pack (mis-)matches with template
 // type parameters.
index 372317838e74d2c424335a1d75d4f25d3c464251..71bd6aa8eb527b0c9f75074e64c91230c67971ba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Various tests related to partial ordering of variadic templates.
 template<typename ...Types> struct tuple;
index 46d70b671f6e045b787faa851ce70f9723968642..4d29b740d803346cb8df231e5f8f0cde0cd418c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 namespace ParameterPacksWithFunctions {
   template<typename ...> struct count;
index b38cc2760937d4c56f2002bf1c84b6b59b1d57ab..81addfe4bdcd7b1484029d5fd077a1dbf532fed1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Metafunction to extract the Nth type from a set of types.
 template<unsigned N, typename ...Types> struct get_nth_type;
index d3af0d4b91327b91ee33d741812da497583d8f4c..c14b063ab746ce490a44b094d24567d8ebe29ade 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 #if !__has_feature(cxx_access_control_sfinae)
 #  error No support for access control as part of SFINAE?
index 8933b63ee6df35219843edfe868111fe25079742..8b192fa547b24e067d1ada091b0c2827f4446e19 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Metafunction to extract the Nth type from a set of types.
 template<unsigned N, typename ...Types> struct get_nth_type;
index f18a74a1e4ef21d9254e277c7e779372a5b0a149..e470dd01664436787ea2940702195a9a41ed4bc6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 
 // If P is an rvalue reference to a cv-unqualified template parameter
index 116810082d9f0693829d8e31240423c6906e64c5..b96530056b2ce275afc6dcd52ae432a55e33454c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Note: Partial ordering of function templates containing template
 // parameter packs is independent of the number of deduced arguments
index 46ea4db779ce7c02b1320efbbb4c2b6f9f218430..f204caf57abd48c4fb34ed0bca1166b81719e95b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T> int &f0(T&);
 template<typename T> float &f0(T&&);
index 9d342c8f8ed6f5d95909d8a8775627ebc772cb7a..8183061a8ab4e0110b601dd7e2998b2d9c644eb2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 template<typename T> void f(T&&);
 template<> void f(int&) { }
 void (*fp)(int&) = &f;
index 198f11fe5298b768c84a7b65cfa26b9e329f4df9..5b031c24ed716e29fb4d0166261f5b43b5c6d124 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // If type deduction cannot be done for any P/A pair, or if for any
 // pair the deduction leads to more than one possible set of deduced
index 247b98113ae5056c1a1755870336c4cdc0122105..4e98a6d15e1a2150aef4f93fcd2413526470e657 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Note: Template argument deduction involving parameter packs
 // (14.5.3) can deduce zero or more arguments for each parameter pack.
index 4326a691cb2ea4664d79adc53760fc6d62340cdb..fcc6cf7ec732031e353d4c2a1346c0a8311642b2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // If the original function parameter associated with A is a function
 // parameter pack and the function parameter associated with P is not
index cf68a01a3593aa92854d92e8e01bdf30a6558ff4..c819d973a94103e6223900fc3629342f7f946a47 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // FIXME: More bullets to go!
 
index a9173fd6be86db58ac7e1af235ff6f007e396e3d..a6b1172afccc004a2621f62c17f215117c38736d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // Deductions specific to C++0x.
 
index 508722437c39e785d7460c84287f1582f56235c3..7774b5c77fa8faf8d444cb78d6fbd7e3555d9716 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename ...Types> struct tuple;
 template<unsigned> struct unsigned_c;
index bc7e616fb13d118af8b06c4f7e8e524e606ee96a..37bb284a36eb6263cbb97f5c22e443ddedafe843 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s 
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 
 
 template<typename> struct Y1;
 template<typename, int> struct Y2;
index 10a44380c8d1d04228a33fa4f751b0347a71ec64..1971aa10c2c73552b99f6c92152c4beb73cbf025 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // If a template-parameter of a class template or alias template has a default
 // template-argument, each subsequent template-parameter shall either have a
index f4be5b960b6cffdf4548affcfe8bc4a787cc99f5..5fc57a43f5417207711a59be770638eaecb9b5bd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 template<typename T> struct X;
 template<int I> struct Y;
 
index 1dc6640fe26662473dd351590b81e95cab8ad7c4..29a7549a8f1ae390cbd84cf55449fdabd8467d61 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // A default template-argument may be specified for any kind of
 // template-parameter that is not a template parameter pack.
index 1d1d350cf337a7426133c5f94e9f90e68b7add2a..81b070f040ee3ebffd6dc4ae6f89773d5c7a49f3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s 
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 
 
 // Examples from CWG1056.
 namespace Example1 {
index 4a17ceca7cb6090a8fc9511d9b394136c2f257ab..acfbb46447de4154a12f87050f68b9f7fba1edf1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // This test creates cases where implicit instantiations of various entities
 // would cause a diagnostic, but provides expliict specializations for those
index a4caceae4954cc09bd7671e36d4eb04a3af25c84..e898a4896825962b1ad8785f60d30de9859d7c6e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 template<typename T>
 struct X {
index fdb922abcf9bd3961b795abf4975357fcbbffa0d..1028830abe7501d8916427fafe4acfbbd29c7c0c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -verify %s
+// RUN: %clang_cc1 -std=c++11 -verify %s
 
 // If the name declared in the explicit instantiation is an
 // unqualified name, the explicit instantiation shall appear in the
index 57b012f9a9463f2abbbe1080cb6bd168bf8635d4..04e7df5741e2d3e41734b0b4fff1d951efda8b0c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -O1 -emit-llvm -std=c++0x -o - %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -emit-llvm -std=c++11 -o - %s | FileCheck %s
 
 template<typename T>
 struct X0 {
index ad973bb7c589193158de1939e686986a6b39599a..86490175f0c396f88ddad1d386e8085fd92ddbdf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 template<typename T>
 struct X0 {
index c22af22f98655121d2dfd6ed722ace925dc7eca0..35d00c2fab204166ab297d322f833632166da7c7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 namespace Old {
   template<template<class> class TT> struct X { };
index d670dc511706fbaacd640ec004202f2a7e7aefdc..5963ede392aff3b10b2dd54674a5f8b684f1658a 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
 // RUN: %clang_cc1 -x c++ -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
-// RUN: %clang_cc1 -x c++ -std=c++0x -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CPP0X %s
+// RUN: %clang_cc1 -x c++ -std=c++11 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CPP0X %s
 
 #include <stddef.h>
 
index ce19d29078be04cce9cb428e12ef7ea8789f0b1a..fa8f28a766c471cd38965863c4dfd82bcf0e3707 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
 // RUN: %clang_cc1 -x c++ -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
-// RUN: %clang_cc1 -x c++ -std=c++0x -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CPP0X %s
+// RUN: %clang_cc1 -x c++ -std=c++11 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CPP0X %s
 
 #include <stddef.h>
 
index 9b993f2506c69e7764dfe8b69b44e69ab23f9e68..c50dafbbab209d30faeaa0150b7cb7cf7c2e909c 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 struct A { A(const A&, int i1 = 1); };
index 5efe18322d8580d512fced8dde049955442e6603..7b565a490c118014dd8c8d25fc167f82197d2c11 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 41b0118fe8a94696152f5b689b94add0a225a763..1b23c4d137aa95ac8038f58bb60b755a522a889f 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index b7a9740ddf1c9d07089714f507210aa2724e3613..d023b9abfee07d0b1b8c2d1a0855107a769ffa7a 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 struct A {
index 58d0d39c8107b391e02b68af4d9a4ca77ac27cda..f50346328500880b89193e6bb1ba066ffb2c64db 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index dc0ab50ba5c6066690e94e5d319c077f223f85b0..32086c1ad37c338a6f16bebdefa05c7dbf22b408 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index ef5900e59c114d71349478cf654e635827c61ca9..7a365cd26da4841de235b40058a2549b7638789f 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 7415b651cdaa6ecd676a6373ed9391e45745212b..6af5188a41f682b86f1a6cab7b87991110be40a5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 %s -emit-llvm -o %t
+// RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 %s -emit-llvm -o %t
 // RUN: FileCheck %s < %t
 // RUN: FileCheck -check-prefix=CHECK-PR10720 %s < %t
 
index 7472d7e5bc63accc5aad94fdaa2b60397480fdbb..fe4687c1b3033c0c46a923141487b58cc30ff176 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 // PR4826
index e2f8f7e17b930a07ba6cc53f79471dafa6d0b479..76d9e027d997073a0f20d64a58343f74deb7dfd7 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 // XFAIL: *
 extern "C" int printf(...);
index c1c9f63079f9bebdea5c5ed54f2fab55407c8a8f..425f79de506713a081e8a732b5e0729425db1698 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 17abeb90d4b39f1202fff800f2e5fc01af003cf8..46d048364118d13e4325750b86f4617f5fcc378a 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 09eb4fe7a7f65dbc34d3a3f1c05f0f911c57c9ea..f4d5ccc0e3319bf1b4de6cb67475427763262eac 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s | FileCheck %s
 
 template <typename T>
 struct X {
index 0bac492796f8cbd6cb20197a42a6221267ab2222..f5684d93abd93fce79267988a8ac1f3f3008f5ce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -fexceptions -fcxx-exceptions -std=c++0x -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -fexceptions -fcxx-exceptions -std=c++11 -o - %s | FileCheck %s
 
 struct non_trivial {
   non_trivial();
index a951dd1344fdbcb79854fb707150ac073ea905ee..10c69660486757178ee8a6a9b9ea98659be238a9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -S -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -S -emit-llvm -o - %s | FileCheck %s
 
 void f()
 {
index 3459b75776e3565add25ee53c12dc3d8f1454d33..da8ca051da845378e60c95f5dc42fddce53752a2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -S -std=c++0x -masm-verbose -g %s -o -| FileCheck %s
+// RUN: %clang_cc1 -S -std=c++11 -masm-verbose -g %s -o -| FileCheck %s
 
 //CHECK:       .ascii   "char16_t"
 //CHECK-NEXT:  .byte   0
index 5753b05d728e944200f58e0b4b84bdf23d2c2795..37ccdb01c5c052c0dd0aa6e102a4c94ef784c802 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm-only -std=c++0x -g %s
+// RUN: %clang_cc1 -emit-llvm-only -std=c++11 -g %s
 
 namespace PR9414 {
   int f() {
index 3c6f31615df6c58cf737e50db74f1f5ac46fffa5..588dc5f3c3993924e9d7a695ec4e911641708482 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -S -std=c++0x -masm-verbose -g %s -o -| FileCheck %s
+// RUN: %clang_cc1 -S -std=c++11 -masm-verbose -g %s -o -| FileCheck %s
 
 //CHECK: DW_TAG_unspecified_type
 //CHECK-NEXT: "nullptr_t"
index c47c83180906b912b97e7b7d56e8e8a96737d3a2..8c51809e042798712210e8af45c64398ba1b219f 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index e4e86942181df5b43b5848d03921170dd10872ef..2c3ea13d195787cc41b2a046abbc6e4e475eb47b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -I%S %s -triple x86_64-apple-darwin10 -emit-llvm -fcxx-exceptions -fexceptions -std=c++0x -o - | FileCheck %s
+// RUN: %clang_cc1 -I%S %s -triple x86_64-apple-darwin10 -emit-llvm -fcxx-exceptions -fexceptions -std=c++11 -o - | FileCheck %s
 struct A { virtual ~A(); };
 struct B final : A { };
 struct C { virtual ~C(); int c; };
index e99099424797531636acd7c60b7626739f39b1d8..584af40da62def61d701ae9a5df8079d2d979b73 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t.ll
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o %t.ll
 // RUN: FileCheck --input-file=%t.ll %s
 
 struct test1_D {
index 188c9a5d18bcdf568a94423ed8110d31b38a7cda..c705702f4f51e2da5f45d1cf56fa4a4b59bc5ab5 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -UDESUGAR %s | opt -instnamer -S | FileCheck %s
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -DDESUGAR %s | opt -instnamer -S | FileCheck %s
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -DDESUGAR -DTEMPLATE %s | opt -instnamer -S | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++11 -emit-llvm -o - -UDESUGAR %s | opt -instnamer -S | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++11 -emit-llvm -o - -DDESUGAR %s | opt -instnamer -S | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++11 -emit-llvm -o - -DDESUGAR -DTEMPLATE %s | opt -instnamer -S | FileCheck %s
 
 struct A {
   A();
index ab1a2317ba93b0e946bbc110606fba1bbc17a1c1..0f35dda737feb8f9db5cb6dbce4b059200d12e26 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - %s | opt -instnamer -S | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++11 -emit-llvm -o - %s | opt -instnamer -S | FileCheck %s
 
 struct A {
   A();
index bbe574daa588d6596f14d6a51b29258fa7856534..5b5dfac0f22898baca0926747b7aec80396e6d76 100644 (file)
@@ -1,5 +1,5 @@
 // REQUIRES: x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
 
 extern "C" int printf(...);
index 2020a0a584e1d22c6316eb951cb6d3a25d7fc94c..1143ea114a1af460002ab9da12b787e96ca9b132 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
 
 template<typename T> struct alloc {};
 template<typename T> using Alloc = alloc<T>;
index 75294e059c5585fa572622d52ef7d8cc6a519d32..c5f72d83c75016861135e14eac284c0bc700aac1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 template < bool condition, typename T = void >
 struct enable_if { typedef T type; };
index b3f37d7db31a24c337b5037aafa6a33fbd04a245..568cf9f2470028b3eda094719bef947df0384f93 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
 struct X {
   int f() &;
   int g() &&;
index 2132eff5e511f5d67ffe0fec7350dcd9b93bf33d..2ecded05d9791345f62458d496e43cc1b329e6ab 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
 
 template<typename T> using id = T;
 struct S {
index a987b49a1281bd7d91674bde86e6f872d7b7d912..b5bdae234445038539b5213a2160c193ff3fd654 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -emit-llvm -triple=x86_64-apple-darwin9 -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -emit-llvm -triple=x86_64-apple-darwin9 -o - %s | FileCheck %s
 
 template<unsigned I, typename ...Types>
 struct X { };
index 60edc42bc97243d585455278e4339c1ed2e93115..47c42a7347fab681ad053dcb9008b680cf1777b9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -fblocks -std=c++0x | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -fblocks -std=c++11 | FileCheck %s
 struct X { };
 struct Y { };
 
index d45dfa0d764d41271a567de53eb3cd8b207be487..1ff7537387c2b160672fa0c003d98016fdf58257 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -std=c++0x -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -std=c++11 -emit-llvm -o - | FileCheck %s
 
 // PR10531.
 
index d70947bcab00d282980abdab0afc8f582ef38069..21723942571f40d747831b48afcdb2fb2f44ba9a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -std=c++0x -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -std=c++11 -emit-llvm -o - | FileCheck %s
 
 bool b();
 struct S {
index 1ea23ec0a95bce8b8e496f352f92b2982d4bd3da..e93f7061bddac8722620d9c9c4bc78d20ba2ca1d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -I%S -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -I%S -emit-llvm -o - %s | FileCheck %s
 
 #include <typeinfo>
 
index 596dee9caaa3dfb8adf88049ee690532299321db..145fd4e424f46823c6c8139b8396833098e322ba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s | FileCheck %s
 template<typename T>
 struct X
 {
index d012fb9c59b5add56ded67c160ce051acefdfb17..3989c036288921d5351828d8a3dd54190914b55c 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target,x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 // 13.3.3.2 Ranking implicit conversion sequences
 
index ff5679248c25402fe520b8ef9f69b43c0ec9c55f..dafa67529f770cfee0478eabe3b6c7d10de7474d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s -std=c++0x
+// RUN: %clang_cc1 -emit-llvm -o - %s -std=c++11
 void *f1(unsigned long l) {
   return reinterpret_cast<void *>(l);
 }
index 5300d3680046f5af5b9b2ff14b5fc430db2393fd..1c25543beabc7656fbcdad95f9fbf887cde7eb64 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
 
 
 struct Spacer { int x; };
index d40ab365111651bb87759c2413f5d464a8b469d3..fca05098923c2f0e3faae148c74ecd8fc60ebb80 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -emit-llvm -o - %s
+// RUN: %clang_cc1 -std=c++11 -emit-llvm -o - %s
 
 // PR9923
 enum class Color { red, blue, green };
index dbb8f34d84148a876c838acdca86cefdbaf33240..53dc9a73805f6cad3125fefc329be342d686bf49 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - -std=c++0x -verify
+// RUN: %clang_cc1 %s -emit-llvm -o - -std=c++11 -verify
 
 static_assert(true, "");
 
index a9d1f8e9bd757a2e306b5c9b792968cbdfacc09f..a0b822aa54ddaafde171051202d42a84874d7fdd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x %s -S -o - -emit-llvm | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 %s -S -o - -emit-llvm | FileCheck %s
 
 // PR10304: destructors should not call destructors for variant members.
 
index 7e42859ac93e6714d5a449f663a3a2af3057189a..a49b1dba9961498bc35a9bbeddaa56c1b2a4dd8e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t-64.ll
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o %t-64.ll
 // RUN: FileCheck -check-prefix LPLL64 --input-file=%t-64.ll %s
 
 extern "C" int printf(...);
index 90c837067559d2e22341097a20ac225dbadb6db8..c56bec33a0f869155119a971ec789030a42c26a8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
 
 template<typename ...Types>
 int get_num_types(Types...) {
index a09be88fa58024737dd0744f79c18358bde7db80..cf3051dd1fe6483e5797d00b7bf77728680c283e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -O2 -std=c++0x -disable-llvm-optzns -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -O2 -std=c++11 -disable-llvm-optzns -o - %s | FileCheck %s
 
 // define void @_Z11simple_moveRU8__strongP11objc_objectS2_
 void simple_move(__strong id &x, __strong id &y) {
index 98ad76f3038e0991f15cf62631639449335a20cd..93a0e4907d290dff00da2da5ece66c7e8c0bbec2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm-only -std=c++0x -fblocks -o - -triple x86_64-apple-darwin10 -fobjc-fragile-abi %s
+// RUN: %clang_cc1 -emit-llvm-only -std=c++11 -fblocks -o - -triple x86_64-apple-darwin10 -fobjc-fragile-abi %s
 // rdar://9362021
 
 @class DYFuture;
index ae0c0a3373f57ddbd90f7638217a9eb555430d2c..73316457b18f9267e0a9552cad1cfa6f8d9a3e74 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: %clang_cc1 -verify -std=c++0x %s
+// RUN: %clang_cc1 -verify -std=c++11 %s
 // RUN: cp %s %t
-// RUN: not %clang_cc1 -x c++ -std=c++0x -fixit %t
-// RUN: %clang_cc1 -Wall -pedantic -x c++ -std=c++0x %t
+// RUN: not %clang_cc1 -x c++ -std=c++11 -fixit %t
+// RUN: %clang_cc1 -Wall -pedantic -x c++ -std=c++11 %t
 
 /* This is a test of the various code modification hints that only
    apply in C++0x. */
index 71142fc977679637eeb0155aa8ca66c4bd836a0a..89876b28eab378770486c09c85c231a34b70d931 100644 (file)
@@ -8,9 +8,9 @@ void test() {
   decltype(a) b;
 }
 
-// RUN: c-index-test -test-annotate-tokens=%s:1:1:5:1 -fno-delayed-template-parsing -std=c++0x %s | FileCheck %s
+// RUN: c-index-test -test-annotate-tokens=%s:1:1:5:1 -fno-delayed-template-parsing -std=c++11 %s | FileCheck %s
 // CHECK: Identifier: "args" [3:20 - 3:24] SizeOfPackExpr=args:2:15
 // CHECK: Identifier: "Args" [3:38 - 3:42] TypeRef=Args:1:22
 
-// RUN: c-index-test -test-annotate-tokens=%s:8:1:9:1 -std=c++0x %s | FileCheck -check-prefix=CHECK-DECLTYPE %s
+// RUN: c-index-test -test-annotate-tokens=%s:8:1:9:1 -std=c++11 %s | FileCheck -check-prefix=CHECK-DECLTYPE %s
 // CHECK-DECLTYPE: Identifier: "a" [8:12 - 8:13] DeclRefExpr=a:7:7
index 946943402437ca9f8af597c4cf63618603c986a1..61431caafd75439c18c142f96721d5bff80d81c5 100644 (file)
@@ -2,5 +2,5 @@ struct S {
   int field = 2;
 };
 
-// RUN: c-index-test -test-load-source all -std=c++0x %s | FileCheck %s
+// RUN: c-index-test -test-load-source all -std=c++11 %s | FileCheck %s
 // CHECK: 2:7: FieldDecl=field:2:7 (Definition) Extent=[2:3 - 2:16]
index 50aee09688677145e2299150ac90a03d61d9caaa..a48b4467b731420790fb2969911450e4445b8845 100644 (file)
@@ -3,6 +3,6 @@ struct tuple { };
 
 void f(tuple<int, float, double>);
 
-// RUN: c-index-test -test-load-source-usrs all -std=c++0x %s | FileCheck %s
+// RUN: c-index-test -test-load-source-usrs all -std=c++11 %s | FileCheck %s
 // CHECK: usrs-cxx0x.cpp c:@ST>1#pT@tuple Extent=[1:1 - 2:17]
 // CHECK: usrs-cxx0x.cpp c:@F@f#$@S@tuple>#p3Ifd# Extent=[4:1 - 4:34]
index c27925bcfee4f2ffd456001df1c6a8a5072a53c2..e6841ef7665d0e3ceb30c41d5fa1ea02ab70f71e 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s 2>&1
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 2>&1
 int static_assert; /* expected-error {{expected unqualified-id}} */
index f6ceaa0a25407932c6428fa105a3405d3a813f6c..e7d5c6f8cd2740efa36144f04c45f6ce86076853 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: %clang_cc1 -std=c++0x -E %s 2>&1 | grep 'error: raw string delimiter longer than 16 characters'
+// RUN: %clang_cc1 -std=c++11 -E %s 2>&1 | grep 'error: raw string delimiter longer than 16 characters'
 
 const char *str = R"abcdefghijkmnopqrstuvwxyz(abcdef)abcdefghijkmnopqrstuvwxyz";
index d8354d928c8e59431aa0607804926dc8b529aa04..dfbaaeee1e72b2a24368e6dac52eb2d5652af818 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -E %s 2>&1 | grep 'error: raw string missing terminating delimiter )foo"'
+// RUN: %clang_cc1 -std=c++11 -E %s 2>&1 | grep 'error: raw string missing terminating delimiter )foo"'
 
 const char *str = R"foo(abc
 def)bar";
index 762543038483edcdf19fa7bb1b13bd6350c9bbb0..5813562de7dab78e1a5f535e6a3171552d503b99 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -E -std=c++0x %s -o - | FileCheck --check-prefix=CHECK-0X %s
+// RUN: %clang_cc1 -E -std=c++11 %s -o - | FileCheck --check-prefix=CHECK-0X %s
 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-0X %s
 
 #if __has_feature(cxx_lambdas)
index 633e02492f4c718c1a0be92f6c1703bf02c7d6bf..43782bce8c508bcd98d1c5182c8816824ad32b09 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 void f() {
 
index 1dbd669cfd2b0c0286c6d791d38a7abb02a30f66..c4ea5fc3c3e9dcbb9fbe6bc668e8cff0cf97bbc9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -fsyntax-only -verify %s
 
 int array0[u'ñ' == u'\xf1'? 1 : -1];
 int array1['ñ' !=  u'\xf1'? 1 : -1];
index 042c70b18a75d3e60ac844527c46ce7ce3e25f65..0339b7b63e82b01df0198fb3dc5200e786af7a2f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -fsyntax-only -verify -std=c++0x
+// RUN: %clang_cc1 %s -fsyntax-only -verify -std=c++11
 
 struct X {};
 typedef X foo_t;
index e30311c58b7bf2ae5868a5c0d95d63fb596d0e3e..872658f7edfa30d74d7a389ce0f13ad523fbe3ba 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: %clang_cc1 -x c++ -std=c++0x -include %S/cxx-alias-decl.h -fsyntax-only -emit-llvm -o - %s
+// RUN: %clang_cc1 -x c++ -std=c++11 -include %S/cxx-alias-decl.h -fsyntax-only -emit-llvm -o - %s
 
 // Test with pch.
-// RUN: %clang_cc1 -x c++ -std=c++0x -emit-pch -o %t %S/cxx-alias-decl.h
-// RUN: %clang_cc1 -x c++ -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s 
+// RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t %S/cxx-alias-decl.h
+// RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t -fsyntax-only -emit-llvm -o - %s 
 
 template struct T<S>;
 C<A>::A<char> a;
index 46e217c574cb6ebf351eabdba344bb9d0f72e06f..48310dbc55ce08eb35f0692bc7aac9598f907177 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: %clang_cc1 -x c++ -std=c++0x -include %S/cxx-for-range.h -fsyntax-only -emit-llvm -o - %s
+// RUN: %clang_cc1 -x c++ -std=c++11 -include %S/cxx-for-range.h -fsyntax-only -emit-llvm -o - %s
 
 // Test with pch.
-// RUN: %clang_cc1 -x c++ -std=c++0x -emit-pch -o %t %S/cxx-for-range.h
-// RUN: %clang_cc1 -x c++ -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s 
+// RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t %S/cxx-for-range.h
+// RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t -fsyntax-only -emit-llvm -o - %s 
 
 void h() {
   f();
index fed2a19c3546d427eb3ee5abd749242fa2a4e743..ccdc874cb1fa8aa48ed6bea7f5d45d13f3f3e1e0 100644 (file)
@@ -1,6 +1,6 @@
 // Test with PCH
-// RUN: %clang_cc1 -std=c++0x -x c++-header -emit-pch -o %t %s
-// RUN: %clang_cc1 -std=c++0x -include-pch %t -verify %s
+// RUN: %clang_cc1 -std=c++11 -x c++-header -emit-pch -o %t %s
+// RUN: %clang_cc1 -std=c++11 -include-pch %t -verify %s
 
 // PR10847
 #ifndef HEADER
index 70392a283261421941835c2bfb0b37a7e3084b45..28206652b8ff081ea29e99692f461376cba1a795 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: %clang_cc1 -x c++ -std=c++0x -DHEADER -DSOURCE -fsyntax-only -emit-llvm -o - %s
+// RUN: %clang_cc1 -x c++ -std=c++11 -DHEADER -DSOURCE -fsyntax-only -emit-llvm -o - %s
 
 // Test with pch.
-// RUN: %clang_cc1 -x c++ -std=c++0x -DHEADER -emit-pch -o %t %s
-// RUN: %clang_cc1 -x c++ -std=c++0x -DHEADER -include-pch %t -fsyntax-only -emit-llvm -o - %s 
+// RUN: %clang_cc1 -x c++ -std=c++11 -DHEADER -emit-pch -o %t %s
+// RUN: %clang_cc1 -x c++ -std=c++11 -DHEADER -include-pch %t -fsyntax-only -emit-llvm -o - %s 
 
 #ifdef HEADER
 int n;
index 2dfbcdc1382bfef9ca18149f3e8792b74e7e42d2..a1a44e6893df1691ec448a1ce7b0516c95e76d84 100644 (file)
@@ -1,6 +1,6 @@
 // Test this without pch.
-// RUN: %clang_cc1 -x c++ -std=c++0x -include %S/cxx-reference.h -fsyntax-only -emit-llvm -o - %s
+// RUN: %clang_cc1 -x c++ -std=c++11 -include %S/cxx-reference.h -fsyntax-only -emit-llvm -o - %s
 
 // Test with pch.
-// RUN: %clang_cc1 -x c++ -std=c++0x -emit-pch -o %t %S/cxx-reference.h
-// RUN: %clang_cc1 -x c++ -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s 
+// RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t %S/cxx-reference.h
+// RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t -fsyntax-only -emit-llvm -o - %s 
index 464da405c3e2ec9bbecd41cf33314b401719dea1..ace12e0922d44c53a1085bfdaff174b9bad6a310 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: %clang_cc1 -include %s -verify -std=c++0x %s
+// RUN: %clang_cc1 -include %s -verify -std=c++11 %s
 
 // Test with pch.
-// RUN: %clang_cc1 -std=c++0x -emit-pch -o %t %s
-// RUN: %clang_cc1 -include-pch %t -verify -std=c++0x %s 
+// RUN: %clang_cc1 -std=c++11 -emit-pch -o %t %s
+// RUN: %clang_cc1 -include-pch %t -verify -std=c++11 %s 
 
 #ifndef HEADER
 #define HEADER
index 9b1df9a737f91926ac85f2f077c5cee7b13032a7..5b586931d541ebfe680fa8fb5818ca3b85bf45cb 100644 (file)
@@ -1,11 +1,11 @@
 // Test this without pch.
-// RUN: %clang_cc1 -std=c++0x -include %S/cxx-variadic-templates.h -verify %s -ast-dump -o -
-// RUN: %clang_cc1 -std=c++0x -include %S/cxx-variadic-templates.h %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -include %S/cxx-variadic-templates.h -verify %s -ast-dump -o -
+// RUN: %clang_cc1 -std=c++11 -include %S/cxx-variadic-templates.h %s -emit-llvm -o - | FileCheck %s
 
 // Test with pch.
-// RUN: %clang_cc1 -std=c++0x -x c++-header -emit-pch -o %t %S/cxx-variadic-templates.h
-// RUN: %clang_cc1 -std=c++0x -include-pch %t -verify %s -ast-dump  -o -
-// RUN: %clang_cc1 -std=c++0x -include-pch %t %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -std=c++11 -x c++-header -emit-pch -o %t %S/cxx-variadic-templates.h
+// RUN: %clang_cc1 -std=c++11 -include-pch %t -verify %s -ast-dump  -o -
+// RUN: %clang_cc1 -std=c++11 -include-pch %t %s -emit-llvm -o - | FileCheck %s
 
 // CHECK: allocate_shared
 shared_ptr<int> spi = shared_ptr<int>::allocate_shared(1, 2);
index 753ac4736c7044d69a559cb33ec122df91c979cb..3ecb19c29572cd415bc6ff36082409eb3940806f 100644 (file)
@@ -1,8 +1,8 @@
 // Without PCH
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify -include %s %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -include %s %s
 // With PCH
-// RUN: %clang_cc1 -x c++-header -std=c++0x -emit-pch -o %t %s
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify -include-pch %t %s
+// RUN: %clang_cc1 -x c++-header -std=c++11 -emit-pch -o %t %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -include-pch %t %s
 
 #ifndef PASS1
 #define PASS1
index 15311f8529446750c74529f4523dc9fe5cbf25e8..f2b7e903625227e826c120ccb5262f86f85c1571 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: %clang_cc1 -include %s -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %s -std=c++11 -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: %clang_cc1 -x c++-header -std=c++0x -emit-pch -o %t %s
-// RUN: %clang_cc1 -std=c++0x -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -x c++-header -std=c++11 -emit-pch -o %t %s
+// RUN: %clang_cc1 -std=c++11 -include-pch %t -fsyntax-only -verify %s 
 
 #ifndef PASS1
 #define PASS1
index 49df80db4fedbd71b7ab7358d7670fb460b4f452..4cd9bae1fa4c1ee3528f1ef473d85359f5fcbb68 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -include %S/cxx_exprs.h -std=c++0x -fsyntax-only -verify %s -ast-dump
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -include %S/cxx_exprs.h -std=c++11 -fsyntax-only -verify %s -ast-dump
 
 // Test with pch. Use '-ast-dump' to force deserialization of function bodies.
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -x c++-header -std=c++0x -emit-pch -o %t %S/cxx_exprs.h
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -std=c++0x -include-pch %t -fsyntax-only -verify %s -ast-dump
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -x c++-header -std=c++11 -emit-pch -o %t %S/cxx_exprs.h
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-dump
 
 int integer;
 double floating;
index 41c62060a439127685faadde631ac48cb64195ec..7dae99621bbb6d03cbf2b0773f5f2fc2a784d8a5 100644 (file)
@@ -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<>
index edb0c190c8bfdf1320e4687b35ce78d9119cec43..27dd63a4fc4904ee7d4a119eb3598b63943bf51a 100644 (file)
@@ -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>
 
index a3d5b2c1d9b29e386e2515effc1fb8dfa275d8b4..f34f6fb014f2b05cacf2bb5c2e17b0bf28560b80 100644 (file)
@@ -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}}
index 94ea34d5035385a2e8aa08f9888516c3bb122413..e762b57a93d6293fb58b4586be6de7b02168d3b6 100644 (file)
@@ -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;
index 54281e30826030582cb4d8453d26918eb8f10581..b4fe4cca7d1165fdc9ff211d18d2a26da68e911e 100644 (file)
@@ -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 {
 
index a161374a41d864ef6d11a8a8a8c1e1bb570456e7..4fcbad490d387ae6b1381505061804db300b5977 100644 (file)
@@ -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 '""'}} \
index b5714c178249f78dee42999b11dc5beec7651fc9..a324f974bcafe56be0977da581d8c75198f40d69 100644 (file)
@@ -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.
index 91d5132febe8101799f1c392f7035d299d74e599..444862a5c85386b6bc89bfd35fbdd707f4d93f3a 100644 (file)
@@ -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();
index ae568e8859c0b185522985777f810312405f51dc..e57e6013e5e76fd1fa39b1f219c061e46805dca2 100644 (file)
@@ -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);
 
index d100e2e48808dc98fe1ec08603f5f1b33f59d1c6..937464918b6ae6e1d0e9df836b843a81de7d855f 100644 (file)
@@ -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 {
 
index 592483c86bb63990d3939733da017192dc54c733..be342a225704d42ff8d492b97594db74d4585288 100644 (file)
@@ -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();
 
index 5a553e59f27ee7f223628238847dd8361758bbfb..11218154ea1c2293a7a9a16b765d439dbde19162 100644 (file)
@@ -9,7 +9,7 @@
 // BLOCKS:#define __block __attribute__((__blocks__(byref)))
 //
 // 
-// RUN: %clang_cc1 -x c++ -std=c++0x -E -dM < /dev/null | FileCheck -check-prefix CXX0X %s
+// RUN: %clang_cc1 -x c++ -std=c++11 -E -dM < /dev/null | FileCheck -check-prefix CXX0X %s
 //
 // CXX0X:#define __GNUG__
 // CXX0X:#define __GXX_EXPERIMENTAL_CXX0X__ 1
index 9a585104980310b23e2a8cfadf2ba36d0566203d..129ff80e2d2ef4abf614262cbfba7254eedd42c2 100644 (file)
@@ -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 S; // expected-note 4{{forward declaration of 'S'}}
 
index 720566a69b055c728aff289b7e92f3033280211e..b5aac5f09c16af40c4bfbbdc1d2f7bd1986a9458 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 class C {
 public:
index f2f07ad36400dcda924ce0fcc8cb02eb9d420c5f..9cfc2b000c01453b22026c62786cdf9a762a3151 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 void foo (int operator+); // expected-error{{cannot be the name of a parameter}}
index ec76789b96570bc9fc9f790360398c419294afc6..80086e445c5dcf5b3259317b074d7979a0ad88cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 template <class _Tp, class _Up, bool = false>
 struct __allocator_traits_rebind
index 3b98b724dd8797c46cf7de911beaab873e2d4ad0..fc090cc42f928be2a52ff8c450cfcb027619825a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 template <class _Tp, class _Up>
 struct __allocator_traits_rebind
index c262230962f99fa1ea0cecb9d8f19020bf48c9d1..b164d9eda6a52c5992cc3d744ab2930ac054fe4d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 #ifndef __GXX_EXPERIMENTAL_CXX0X__
 #define __CONCAT(__X, __Y) __CONCAT1(__X, __Y)
index 90d0ead92049f92e594716a9b9ba2d1dfdb66bd6..3c0e4483c441f7b0bf4e560be842262f49ef38f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s 
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 
 
 // Verify that we can't initialize non-aggregates with an initializer
 // list.
index f29a9327dab3f8956e78c571ac626e82accfb877..6cff4206faa40245d7690a2ca29657b6d9671e3f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -std=c++0x %s
+// RUN: %clang_cc1 -verify -std=c++11 %s
 
 namespace RedeclAliasTypedef {
   template<typename U> using T = int;
index 6a2d301ff4e1b48ed48f70ea700fc04cf048da24..ccdf45e52dd78e09cf979fc347fa37c12e525474 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct s0; // expected-note {{forward declaration}}
 char ar[sizeof(s0&)]; // expected-error {{invalid application of 'sizeof' to an incomplete type}}
index 836e319f84044ea03f3e717dbc229ed1ea5d3a0f..6e96e03f72454728bb812ee711ad115324649c86 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 struct A {
   operator int&();
index ee5b2e57b59d3ba9c64e3163e61e57b1d051b619..de9d7d1c2a6e9538c9c641820afa332b7e1c4565 100644 (file)
@@ -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 align_illegal alignas(3); //expected-error {{requested alignment is not a power of 2}}
 char align_big alignas(int);
index fb9f50919a70d790b55bf382c596a3437a80ea1f..a8f9e84423a7281fbbdc46ed8c940604c6e411b8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 void f() {
   auto int a; // expected-warning {{'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases}}
   int auto b; // expected-error{{cannot combine with previous 'int' declaration specifier}}
index 442c7e82ccdb2a8e7e33550cc253e04316332158..b323dfc6b04968e07054b3daf0e778bbffeb0fca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 void f() {
   auto a = f(); // expected-error {{variable has incomplete type 'void'}}
index 32a893dafcef42688b92c788e4b31abf336279e2..61e347879a75337647bab445b3d897105c0b508c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 struct A {};
 
index f736394a4caaa88e801dd73b10da02a3ffdc14bc..2d93c6b2dff3a9ce2c7c7fc7065bdd446917423f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 struct A {};
 struct E {};
index 6c132366199be888c1f39d8ebaa0d496e27da93e..c7b5173a4fbe9671c0ee0afdf990884225aec8fc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 struct A {};
 
index ebbacdc13f9daa5e4c3a99f3fe7b01ad81e266b1..dd2bc98e02cc7fa1685c9dcc983727a79e98f08c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 struct R {
   R(int);
index fa5c974d1f956cbdc980a041414d2f47ab508db2..5648d022b522b8478ea29b622e33fb03bde97c3c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++0x -Wsign-conversion %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++11 -Wsign-conversion %s
 
 // C++ rules for ?: are a lot stricter than C rules, and have to take into
 // account more conversion options.
index 862ae5ae02bb031a374571e17baadd9d289af28f..0f298a819fa313c01b30665cb0f66d4f9bb2534d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // Test1
 struct B {
index 5d12b83ccd53e96b91647b584ab3f63ca480a675..3527ccb55577588ab3ae3d8f1ea912f8b3f5996e 100644 (file)
@@ -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 vs = 0;
 
index 79e6dda3e11c4def60f1b3c084952e4a23a3ef78..197edeb097b6575779a303169f248241a0a94168 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 constexpr int x = 1;
 constexpr int id(int x) { return x; }
index 9d4443c88788f1e695b4ac6c61a10875d01870f1..17933c2f009a1b385441755ac6b01b31c70bca09 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct non_copiable {
   non_copiable(const non_copiable&) = delete; // expected-note {{marked deleted here}}
index 86c5fd10e23c950115f7b63f226a2b131fb78166..d01f63bedb6b7cb8c6e6a8b0a55235ae6d2ccae2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 void fn() = default; // expected-error {{only special member}}
 struct foo {
index a3e6ff3b4f9289584e5ba477ffd543ef6fe7cbdc..2d49f0fc599d3fd88485aa3b9045f70cb15177c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 struct foo {
   int i;
index d2fd6cb62fa7df66bc9de262c0afc792305cf50a..16c56642c06b4b957ff9b52658297cc8ec7c64f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct non_trivial {
   non_trivial();
index 71c4c8ecfcd9a4252fa598554ec386df2fe11981..41fc2193891c9b82cfe8f6d51b0ca6fa120e9cb1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 namespace integral {
 
index 666e64be66abd0b8cfdcc850b1cd0c37f37e1b5d..6275af6bac524175f474cf880194a984a0032fad 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 struct non_trivial {
   non_trivial();
index adf1f621ea841b501f66dbc5cde17a586b9a65df..6a7fe45281f5afa2d04fa912d782957fa8743916 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=gnu++0x -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -std=gnu++11 -fsyntax-only -verify %s 
 
 void f() {
   char *u8str;
index 34c4578e9d6dbe4b9ecfcdacd6260acee0304b9b..4c635c1a244781aaeb7a7eb5a7538a3dc8eaa332 100644 (file)
@@ -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 A {};
 
index 3268786c31ce6857e377a2b87d7d7ea6a21b7180..b0a43a999bb6048839ed182fda0e4597a2072fc4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 void f(); // expected-note{{possible target for call}}
 void f(int); // expected-note{{possible target for call}}
index 456b22c5f7f23b563f69ad18d3c1dcc8c69767a5..2f95075067a4a2d82898f58723ffdbed12f756f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 template<typename T, T t>
 struct TestStruct {
index ead24ce0ca8607bb716223ba319a14fb189900fe..9d33ce7341a2457b7e9b29d3edc74159368eae67 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 template< typename T, T t, decltype(t+2) v >
 struct Convoluted {};
index f9bf49973b5c744e24726ee20fa8c4b50b3d904b..a13416f089dd6b3ccf1c8f7c26b53f30a1f62c89 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 template<typename T, typename U> struct is_same {
   static const bool value = false;
index f61a92b71e1e553845789ab6b254a43834ca6ff1..78fb8ef020785037893b76383a1d58a37764378e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 // PR5290
 int const f0();
index 6a41972cf75a4941480c84cc21d9f4c1e0f051bd..6416336c6eedbb526e21a13195861fa73043245f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // WARNING: This test may recurse infinitely if failing.
 
index 6a8965ceb5786d964754cb4bb9ab2f99d82fe69a..4620a19d46fb47bfc563e3bc150638194e096d9b 100644 (file)
@@ -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 i = delete; // expected-error {{only functions can have deleted definitions}}
 
index 1c8a537f3a5fe3f1bd1e060e7ae7f89a42fb8bfa..e357401bf9424bd66beae17d339ef20bdf5117a1 100644 (file)
@@ -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 PR10757 {
   bool operator~() = delete; // expected-note {{explicitly deleted}}
index 52b15eda73244ac6818b53de084c18ea68ebe681..1be1566bb3b03a7e3a9206f569de844fe8d6ade5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 template<typename T>
 struct only {
index 5bf6f9e96a1288d483b323e6c58b0b5407d431d3..8066b859f189130aebb7134ed5b04f3adbf87aa4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 %s
 
 template <class T>
 T&&
index 053e79bb69815b6d85cc09ecddddbb3091c0d245..13ed72f7231e2226efbbade5b01ac345e243674c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -pedantic -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify -std=c++11 %s
 
 template<typename T> using U = int &;
 
index ec0539b81901101eabf6ffacd4210214b11fce12..14a0cda8df35501fbee052858a54eb8a0b5c8186 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -verify %s
 class A {
 public:
   ~A();
index a766116b1c3cc4fe219b6633cfdf5c825de0f5e0..1a657408f8a61ac85f57c61f834113c860c2628e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++0x -verify -triple x86_64-apple-darwin %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++11 -verify -triple x86_64-apple-darwin %s
 
 enum E {};
 
index 73e7578ecb6e6810b917e2d8d83a690f2229caaf..35ba1b4017aee2c9dbfd9ff65712709e8725bc0d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++0x -verify -triple x86_64-apple-darwin %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++11 -verify -triple x86_64-apple-darwin %s
 
 enum class E1 {
   Val1 = 1L
index e0397470e218e62553ca27f169cc2936d63f4e85..11b9672a8501d21f7841f22c7706d57d04b0271a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 namespace Constructor {
 struct A {
   A(int);
index 810f1de441a168ac8b2ef929bd7d4636e475ce57..b994e8c10bd612fdcc2434a51dbc24d2f510f4b6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 namespace value_range_detail {
   template<typename T>
index 31b3581d1cf61d229e7482aaf47a33680ad35b1c..dae41f1bb296d34434cd4c50c89305c8773cb47a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98 -Wno-c++0x-extensions
 
 struct S {
index 7b7d84d3f9c870d06252ff0621886b5065e470aa..ce6b379cc192a2a78df7d8069c1f697dbdeabd3e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x -Wunused
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 -Wunused
 
 // PR9968: We used to warn that __range is unused in a dependent for-range.
 
index 5a420c6fc500130b4e2d846ae3e6d3d9b7a51b80..a1891c9c322e39325aebf9b84d713ea3e8252692 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 // XFAIL: *
 
 template <typename T, typename U>
index b171fce540d82b0ccfd3cdedac9e884c3c48760d..c0a5d89fff67545f1097978d9323d2b7aec83df1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template <typename T, typename U = void*>
 struct A {
index 81babc043ff757a9f7463ed67106e795aca117e2..559c3013f7e94be310168e674cfb22b8d00b5c91 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -verify -std=c++0x -Wall %s
+// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -verify -std=c++11 -Wall %s
 
 template<bool b> struct ExceptionIf { static int f(); };
 template<> struct ExceptionIf<false> { typedef int f; };
index 03c5b7c978aaf2edb270d3860d8b186f64022d67..5b82dc6b145e53b27fcb3379c8e5ec76dd65b1b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T>
 struct classify_function {
index ab80c9a3d35f7ec1dc29cecc4b003a7604d12064..06ef49fc0ae1cae7a76bba26baa1c4ba138205fb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 #include <stddef.h>
 
index 6a61823adb282af9f0096e88802e2bfcd31a2610..60bfcf00cf0b46d713f3cccdb005514884dee512 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 static_assert(__is_literal(int), "fail");
 static_assert(__is_literal_type(int), "fail"); // alternate spelling for GCC
index 192851460cf67f7f6e14bc9f4dcb8d9186bf204d..819c8d13db8972c8af01a30625e4a82892b59216 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -verify -std=c++0x -Wall %s
+// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -verify -std=c++11 -Wall %s
 
 struct Bitfield {
   int n : 3 = 7; // expected-error {{bitfield member cannot have an in-class initializer}}
index ae2219b143369faa1a74271eddd3fc1b413f4069..3f78eda79cd57bc8dd6d21d1c16cb695efcba863 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -triple i686-pc-win32 -fsyntax-only -Wc++0x-narrowing -Wmicrosoft -verify -fms-extensions -std=c++0x
+// RUN: %clang_cc1 %s -triple i686-pc-win32 -fsyntax-only -Wc++0x-narrowing -Wmicrosoft -verify -fms-extensions -std=c++11
 
 
 struct A {
index d69af588a7d057e02abe8d3c0749746b267a7e65..6f660366e99897bf0c77c49faab0a35ec29c10a1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++0x -ffreestanding %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++11 -ffreestanding %s
 #include <stdint.h>
 
 typedef decltype(nullptr) nullptr_t;
index e839ed116f8de62ad6f91c6d60de9aeca8afaa0b..9671353907c76992765b41992fe8cff33c803d8e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -fblocks -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -fblocks -std=c++11 -verify %s
 
 void foo() {
   int a;
index e47877ea91aaf7fae2be713e183d82a789b01cce..677d16a32c1217803c67445a5b8e69c121e60f8d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s 
 
 namespace test0 {
   struct A { // expected-note {{candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const test0::A', but method is not marked const}} expected-note {{candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const test0::A', but method is not marked const}}
index 32f1995290644390bc2aac3c928dde45ce5f417a..6a5a162af679b8aee5c8cacbeb24005989fcf8d9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -fshow-overloads=best -std=c++0x -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -fshow-overloads=best -std=c++11 -verify %s 
 
 template <class T>
 struct X
index 4c7908e1137e4f8962c83264df47b9cf4a3573c3..787e33022aa3ee0564d00f7e8a9735f8056de2f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 // 13.3.3.2 Ranking implicit conversion sequences
 // conversion of A::* to B::* is better than conversion of A::* to C::*,
index b74faa2e2437667420d505d0f177fd95c7b6dff9..aee535e5593b10ca38cc64ceadc6c2dd29097dc6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 struct  S {
        int i;
index b368fcfe5508e009e0dbef1cd7e7ee1d2f5455d2..09e9d0d83bf577ef291a1ec7dd27e827cd2e2e63 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 template<typename T> using A = int; // expected-note 2{{previous}}
 template<typename T> using A = char; // expected-error {{type alias template redefinition with different types ('char' vs 'int')}}
index 34de54c0f01da8116835c9315090756789af4821..87ad6bd7e5d83c3cf6802d12f9a2bf4cd3b12268 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 extern int a;
 auto a = 0; // expected-note 2{{here}}
index 752a3484d0258f424edac62ba16788a94ad18448..ce47e10c9ae3e4bdec9c38254ae76d9acb0e62e2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 enum E2 { };
 
index 1fcccd49459cceb0fb1b474d19d5f8e072972bf8..e06ba403efec308e726bc7013810fa9add5235a9 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -Wreturn-type -Wmissing-noreturn -Wno-unreachable-code
-// RUN: %clang_cc1 %s -fsyntax-only -std=c++0x -verify -Wreturn-type -Wmissing-noreturn -Wno-unreachable-code
+// RUN: %clang_cc1 %s -fsyntax-only -std=c++11 -verify -Wreturn-type -Wmissing-noreturn -Wno-unreachable-code
 
 // A destructor may be marked noreturn and should still influence the CFG.
 void pr6884_abort() __attribute__((noreturn));
index f4921a9b516844b80fd2ebdac72c7ea2f277f5bf..110ae26fb5d298dd2f2f99d8e88dfd6b653f49eb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename T>
 class unique_ptr {
index 74afdbe41043cadd5f98902b6312988b3049ea55..fc341e87f4a404c67dc68dcecffbee0ebcee1e71 100644 (file)
@@ -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
 
 typedef int&& irr;
 typedef irr& ilr_c1; // Collapses to int&
index ec2f2e565fc76eb96d942731e1ccd8919e01fcfd..ad109f4d4e03e4cd98299564a45d5b9bb247a202 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s -Wno-unreachable-code
-// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=gnu++0x %s -Wno-unreachable-code
+// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=gnu++11 %s -Wno-unreachable-code
 
 namespace test0 {
   struct D { ~D(); };
index 516243ec70e1113c87d08f68adf5eefae6fae06b..0991a5f89cc8ea49ebaba53a926de1558172b9e2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 int f();
 
index adaeb85bce17c3a0b4e97fa5a781b6e3d3b8f373..2e74da0a46348e3546e0f9fe2ae60d3501f26e48 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 // PR5518
 struct A { 
index b52b240da35d034647d88dd42bdd1548d49f2ecd..e25939fa3ebf73047fcaea09dc1e873bcc3c8dc7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 template <class T>
 struct only
index 494d1ec0843f7117b50a84e9583df5fe9a506bf6..bda206b61f9a61912c549848619813977148eb95 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 struct T1 {
 };
 static_assert(__has_trivial_constructor(T1), "T1 has trivial constructor!");
index 29358d8bd2280a35ef071228ba92c8d5e357af3d..db415cf9050a80ee54a9210e3a532b07ec2e836e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 struct T1 {
 };
 static_assert(__has_trivial_destructor(T1), "T1 has trivial destructor!");
index d124b06d4afa085be23176662efef5011dc815fd..0914c7cf94e32a62444c28813ee5a5727f36ccfa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -std=gnu++0x %s 
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -std=gnu++11 %s 
 #define T(b) (b) ? 1 : -1
 #define F(b) (b) ? -1 : 1
 
index 607d9ad843a4f36b3edc42a6f68dbfc44a33111b..dcfaab3c8b4da169248d46a644c0559882df4d97 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify -std=c++11 %s
 
 #include "limits.h"
 
index f164bf2768461847d43c675f0c2f259c8aab37c3..35980820389237a5cb13a870246087eb520ae69d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -Wunused -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -Wunused -verify %s
 
 static int foo(int x) { return x; }
 
index dfe0f46ea25505520ab0e4b1f289ce87feb11b51..19be03af8f4619b2543562ce12939aa176255140 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 struct A { //expected-note {{marked deleted here}} \
      // expected-warning {{does not declare any constructor to initialize}}
index 23d86d37426e2eed06e1b98ff13f99ce706c0d63..b477438ee9883ef4347b978134fdf4da4c70dc59 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 namespace T1 {
 
 class A {
index d8c26efcfb4292e82a19184534056fbf6c7d20ac..ea7d203ca70f6c972cd5a415800ba125e9577e28 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -verify -std=c++11 %s
 
 class A {
   virtual void f();
index 285dfce03e28a6f89e81c60e7f55d02b62bab6ea..be9f1dc2e28c0c78892d2178c5ef65cc293c096f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -fobjc-arc -verify -fblocks -fobjc-exceptions %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -fobjc-arc -verify -fblocks -fobjc-exceptions %s
 
 // "Move" semantics, trivial version.
 void move_it(__strong id &&from) {
index 4a9d1a07de9de2e292f4843f30e5cf80ac79c890..2b29b043923a31e5ba86a210974a7801efb07064 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fblocks -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fblocks -fsyntax-only -verify %s
 
 @interface A
 @end
index 751cac73ae0fcb58185495f47e4b62363533e566..69d77163ab67c1eb219a17614b17b70be361f867 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<template<template<typename> class, typename> class T, template<typename> class V> struct PartialApply {
   template<typename W> using R = T<V, W>;
index 1bb5ce336f90cbb244c084cc7b55eff95ac7d800..4b5226b26ebbde5b5f4a1f566f456dbb23601b94 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 template<typename T> using Id = T; // expected-note {{type alias template 'Id' declared here}}
 struct U { static Id<int> V; };
index a847b0672a2a8c8f1285483f653e5a9d11d416a2..c22fccb6788e68359dea4a0614ea1ca7bd055537 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 template<template<typename> class D> using C = D<int>;
 
index f4c917c5ebc2d4fc542eb6c2b27012093690d01f..79d6849a6efeb18def5ff4c131c8fc3922b29a8a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 
 template<typename S>
 struct A {
index 73cf3c29665c66189145abccdd75334f07f27057..94ae360b43ef044f3d4ba2eb531211050d44f82f 100644 (file)
@@ -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 f();
 
index 0f7ba4678b8ee8fb278e768a0f157769ee1c0e55..77143136c3d225287f9cac8f26d501e6812a93b9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 
 // Test default template arguments for function templates.
 template<typename T = int>
index 5c7d85f6ed5ae669c0a6908ab2b237d18ee6049c..d82343402b7415ebb944df1781e21564b25c890f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x %s -verify 
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify 
 
 namespace PR10457 {
 
index 7bab5d18d1ad27b40fe40dd5ba454145f7b82f8f..36e1ad8f17f0c145fe3209532ee6d34f237ed15c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s 
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 
 
 typedef double A;
 template<typename T> class B {
index 97ea6cbb8e533a1d5a05a8e2bc7432dc821eb9cf..b8229d3f641ae67540186eb8e9780f9025e8c036 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
 
 #ifndef __GXX_EXPERIMENTAL_CXX0X__
 #define __CONCAT(__X, __Y) __CONCAT1(__X, __Y)
index 074fe694149040fd783f4924745efdb59c55ddfa..a266a6584b06e7ebff3061c260a851c812e4db90 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -std=c++11 %s
 
 template <typename T>
 struct S {
index f4ce0e173146e76ae0256d2b098c518adc448f90..89cae03af08f16627675d640c81d075a5002fdba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -std=c++11 -verify %s
 
 template<typename T> struct TryCatch0 {
   void f() {
index 12f3d4177f307597f7e5f0b06a2cfc852b38589e..b9833d8609ef316e18927b4a4cd94807db05798a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
 
 namespace std {
   class type_info {};
index 215d2cfa08208e604dac23db4494e60ae6fddafd..9d6dc80b5b0a4a1b8b344f652326cddcbf2a9026 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
 namespace N1 {
 
   template<typename T> struct X0 { }; // expected-note{{here}}
index 0d1ba17a0179281c6178a68bc0de96ce3709d176..bb9ed8e4e0812ccb78f1d67a113fafdf6ce49929 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
 class A
 {
 public: