From 601b26a9fd47656a29353a91ded0dcd8a057a10b Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Thu, 9 Oct 2014 11:58:26 +0000 Subject: [PATCH] Fix compatibility issues in tests for PredefinedExpr with MSVC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219405 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/predefined-expr.c | 4 ++-- test/SemaCXX/predefined-expr.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/predefined-expr.c b/test/CodeGen/predefined-expr.c index 6c94152b73..3ccdeb3b4c 100644 --- a/test/CodeGen/predefined-expr.c +++ b/test/CodeGen/predefined-expr.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -// RUN: %clang_cc1 -fms-extensions %s -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 -fms-extensions %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s // CHECK: @__func__.plainFunction = private unnamed_addr constant [14 x i8] c"plainFunction\00" // CHECK: @__PRETTY_FUNCTION__.plainFunction = private unnamed_addr constant [21 x i8] c"void plainFunction()\00" diff --git a/test/SemaCXX/predefined-expr.cpp b/test/SemaCXX/predefined-expr.cpp index cfaed47d13..f4a155da66 100644 --- a/test/SemaCXX/predefined-expr.cpp +++ b/test/SemaCXX/predefined-expr.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++1y -fblocks -fsyntax-only -verify %s +// RUN: %clang_cc1 -x c++ -std=c++1y -fblocks -fsyntax-only -triple %itanium_abi_triple -verify %s // PR16946 // expected-no-diagnostics -- 2.40.0