Skip to content

Commit

Permalink
[test] Make Lit tests C++11 Compatible - Objective-C++
Browse files Browse the repository at this point in the history
Set 5 Objective-C++ tests to run at gnu++98

Differential Revision: https://reviews.llvm.org/D29739

llvm-svn: 294997
  • Loading branch information
Charles Li committed Feb 13, 2017
1 parent 3422b53 commit e1958a0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clang/test/CodeGenObjCXX/arc-blocks.mm
@@ -1,4 +1,4 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-runtime-has-weak -fblocks -fobjc-arc -o - %s | FileCheck %s
// RUN: %clang_cc1 -std=gnu++98 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-runtime-has-weak -fblocks -fobjc-arc -o - %s | FileCheck %s

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

Expand Down
2 changes: 1 addition & 1 deletion clang/test/CodeGenObjCXX/encode.mm
@@ -1,4 +1,4 @@
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -std=gnu++98 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s

// CHECK: v17@0:8{vector<float, float, float>=}16
// CHECK: {vector<float, float, float>=}
Expand Down
2 changes: 1 addition & 1 deletion clang/test/CodeGenObjCXX/literals.mm
@@ -1,4 +1,4 @@
// 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
// 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

#include "literal-support.h"

Expand Down
2 changes: 1 addition & 1 deletion clang/test/SemaObjCXX/arc-system-header.mm
@@ -1,4 +1,4 @@
// RUN: %clang_cc1 -fobjc-arc -isystem %S/Inputs %s -verify
// RUN: %clang_cc1 -std=gnu++98 -fobjc-arc -isystem %S/Inputs %s -verify

#include <arc-system-header.h>

Expand Down
2 changes: 1 addition & 1 deletion clang/test/SemaObjCXX/ivar-construct.mm
@@ -1,4 +1,4 @@
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
// RUN: %clang_cc1 -std=gnu++98 -fsyntax-only -verify -Wno-objc-root-class %s
struct Y {
Y();

Expand Down

0 comments on commit e1958a0

Please sign in to comment.