[PATCH] D29739: Make Lit tests C++11 compatible - Objective-C++

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 13 15:21:35 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL294997: [test] Make Lit tests C++11 Compatible - Objective-C++ (authored by lcharles).

Changed prior to commit:
  https://reviews.llvm.org/D29739?vs=87735&id=88267#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29739

Files:
  cfe/trunk/test/CodeGenObjCXX/arc-blocks.mm
  cfe/trunk/test/CodeGenObjCXX/encode.mm
  cfe/trunk/test/CodeGenObjCXX/literals.mm
  cfe/trunk/test/SemaObjCXX/arc-system-header.mm
  cfe/trunk/test/SemaObjCXX/ivar-construct.mm


Index: cfe/trunk/test/SemaObjCXX/arc-system-header.mm
===================================================================
--- cfe/trunk/test/SemaObjCXX/arc-system-header.mm
+++ cfe/trunk/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>
 
Index: cfe/trunk/test/SemaObjCXX/ivar-construct.mm
===================================================================
--- cfe/trunk/test/SemaObjCXX/ivar-construct.mm
+++ cfe/trunk/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(); 
 
Index: cfe/trunk/test/CodeGenObjCXX/literals.mm
===================================================================
--- cfe/trunk/test/CodeGenObjCXX/literals.mm
+++ cfe/trunk/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"
 
Index: cfe/trunk/test/CodeGenObjCXX/arc-blocks.mm
===================================================================
--- cfe/trunk/test/CodeGenObjCXX/arc-blocks.mm
+++ cfe/trunk/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*] }
 
Index: cfe/trunk/test/CodeGenObjCXX/encode.mm
===================================================================
--- cfe/trunk/test/CodeGenObjCXX/encode.mm
+++ cfe/trunk/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 at 0:8{vector<float, float, float>=}16
 // CHECK: {vector<float, float, float>=}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29739.88267.patch
Type: text/x-patch
Size: 2592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170213/3a7a7bb1/attachment.bin>


More information about the cfe-commits mailing list