From aeae6c39e02255585227b64be2e7ea27fd11e1c9 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 2 Nov 2018 22:19:02 +0000 Subject: [PATCH] Add an explicit -std=c++14 to this test. 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Modules/lsv-debuginfo.cpp b/test/Modules/lsv-debuginfo.cpp index 4a2644f6b3..30d3c2583f 100755 --- a/test/Modules/lsv-debuginfo.cpp +++ b/test/Modules/lsv-debuginfo.cpp @@ -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 \ @@ -10,13 +10,13 @@ // 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 -- 2.40.0