Skip to content

Commit e1958a0

Browse files
author
Charles Li
committedFeb 13, 2017
[test] Make Lit tests C++11 Compatible - Objective-C++
Set 5 Objective-C++ tests to run at gnu++98 Differential Revision: https://reviews.llvm.org/D29739 llvm-svn: 294997
1 parent 3422b53 commit e1958a0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
 

Diff for: ‎clang/test/CodeGenObjCXX/arc-blocks.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-runtime-has-weak -fblocks -fobjc-arc -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -std=gnu++98 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-runtime-has-weak -fblocks -fobjc-arc -o - %s | FileCheck %s
22

33
// CHECK: [[A:.*]] = type { i64, [10 x i8*] }
44

Diff for: ‎clang/test/CodeGenObjCXX/encode.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -std=gnu++98 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
22

33
// CHECK: v17@0:8{vector<float, float, float>=}16
44
// CHECK: {vector<float, float, float>=}

Diff for: ‎clang/test/CodeGenObjCXX/literals.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -I %S/Inputs -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-arc-exceptions -O2 -disable-llvm-passes -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -std=gnu++98 -I %S/Inputs -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -fobjc-runtime-has-weak -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-arc-exceptions -O2 -disable-llvm-passes -o - %s | FileCheck %s
22

33
#include "literal-support.h"
44

Diff for: ‎clang/test/SemaObjCXX/arc-system-header.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fobjc-arc -isystem %S/Inputs %s -verify
1+
// RUN: %clang_cc1 -std=gnu++98 -fobjc-arc -isystem %S/Inputs %s -verify
22

33
#include <arc-system-header.h>
44

Diff for: ‎clang/test/SemaObjCXX/ivar-construct.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
1+
// RUN: %clang_cc1 -std=gnu++98 -fsyntax-only -verify -Wno-objc-root-class %s
22
struct Y {
33
Y();
44

0 commit comments

Comments
 (0)
Please sign in to comment.