]> granicus.if.org Git - clang/commitdiff
Add an explicit -std=c++14 to this test.
authorAdrian Prantl <aprantl@apple.com>
Fri, 2 Nov 2018 22:19:02 +0000 (22:19 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 2 Nov 2018 22:19:02 +0000 (22:19 +0000)
rdar://problem/45642490

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

test/Modules/lsv-debuginfo.cpp

index 4a2644f6b31141e2e2bcfd5a1c5b9d10dd71633c..30d3c2583fbd2d4e03c087a3957d0aa5cbd21cf3 100755 (executable)
@@ -1,7 +1,7 @@
 // Test C++ -gmodules debug info in the PCMs with local submodule visibility.
 // REQUIRES: asserts
 // RUN: rm -rf %t
-// RUN: %clang_cc1 -triple %itanium_abi_triple    \
+// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++14 \
 // RUN:   -fmodules-local-submodule-visibility %s \
 // RUN:   -dwarf-ext-refs -fmodule-format=obj -debug-info-kind=standalone \
 // RUN:   -dwarf-version=4 -fmodules -fimplicit-module-maps \
 // RUN: cat %t-mod.ll | FileCheck %s
 
 // RUN: rm -rf %t
-// RUN: %clang_cc1 -triple %itanium_abi_triple    \
+// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++14 \
 // RUN:   -fmodules-local-submodule-visibility %s \
 // RUN:   -dwarf-ext-refs -fmodule-format=obj -debug-info-kind=standalone \
 // RUN:   -dwarf-version=4 -fmodules -fimplicit-module-maps \
 // RUN:   -fmodules-cache-path="%t" -o %t.ll -I%S/Inputs/lsv-debuginfo \
-// RUN:   -mllvm -debug-only=pchcontainer &>%t-mod.ll \
-// RUN:   -DWITH_NAMESPACE
+// RUN:   -DWITH_NAMESPACE \
+// RUN:   -mllvm -debug-only=pchcontainer &>%t-mod.ll
 // RUN: cat %t-mod.ll | FileCheck %s
 
 // ADT