summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/complete-cxx-inline-methods.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-08-30 02:08:31 +0000
committerNico Weber <nicolasweber@gmx.de>2012-08-30 02:08:31 +0000
commit723b4f02a71a5c74c355cbe5f502c206b86824a5 (patch)
treed2fa0bd543f0d9e9337d6b5101dab4df89386305 /clang/test/Index/complete-cxx-inline-methods.cpp
parent077a53e5ab1d8e194aa02d7ca2ce3f646af0be9f (diff)
downloadbcm5719-llvm-723b4f02a71a5c74c355cbe5f502c206b86824a5.tar.gz
bcm5719-llvm-723b4f02a71a5c74c355cbe5f502c206b86824a5.zip
Reland r160052: Default to -std=c++11 on Windows.
Also update the tests that rely on c++98 to explicitly mention that. llvm-svn: 162890
Diffstat (limited to 'clang/test/Index/complete-cxx-inline-methods.cpp')
-rw-r--r--clang/test/Index/complete-cxx-inline-methods.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Index/complete-cxx-inline-methods.cpp b/clang/test/Index/complete-cxx-inline-methods.cpp
index d441972dd6f..ee359f75e44 100644
--- a/clang/test/Index/complete-cxx-inline-methods.cpp
+++ b/clang/test/Index/complete-cxx-inline-methods.cpp
@@ -23,8 +23,8 @@ private:
};
}
-// RUN: c-index-test -code-completion-at=%s:4:9 %s | FileCheck %s
-// RUN: c-index-test -code-completion-at=%s:13:7 %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:4:9 -std=c++98 %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:13:7 -std=c++98 %s | FileCheck %s
// CHECK: CXXMethod:{ResultType MyCls::Vec &}{TypedText operator=}{LeftParen (}{Placeholder const MyCls::Vec &}{RightParen )} (34)
// CHECK-NEXT: StructDecl:{TypedText Vec}{Text ::} (75)
// CHECK-NEXT: FieldDecl:{ResultType int}{TypedText x} (35)
OpenPOWER on IntegriCloud