[cfe-commits] r129562 - in /cfe/trunk/test/CodeGenCXX: for-range-temporaries.cpp for-range.cpp

Richard Smith richard-llvm at metafoo.co.uk
Fri Apr 15 03:12:39 PDT 2011


Author: rsmith
Date: Fri Apr 15 05:12:39 2011
New Revision: 129562

URL: http://llvm.org/viewvc/llvm-project?rev=129562&view=rev
Log:
Apply NAKAMURA Takumi's workaround to fix thses tests on -Asserts build. The labels there are numbered, not named, and numbered labels are formatted differently.


Modified:
    cfe/trunk/test/CodeGenCXX/for-range-temporaries.cpp
    cfe/trunk/test/CodeGenCXX/for-range.cpp

Modified: cfe/trunk/test/CodeGenCXX/for-range-temporaries.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/for-range-temporaries.cpp?rev=129562&r1=129561&r2=129562&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/for-range-temporaries.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/for-range-temporaries.cpp Fri Apr 15 05:12:39 2011
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -UDESUGAR %s | FileCheck %s
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -DDESUGAR %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -UDESUGAR %s | opt -instnamer -S | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - -DDESUGAR %s | opt -instnamer -S | FileCheck %s
 
 struct A {
   A();

Modified: cfe/trunk/test/CodeGenCXX/for-range.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/for-range.cpp?rev=129562&r1=129561&r2=129562&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/for-range.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/for-range.cpp Fri Apr 15 05:12:39 2011
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -std=c++0x -emit-llvm -o - %s | opt -instnamer -S | FileCheck %s
 
 struct A {
   A();





More information about the cfe-commits mailing list