]> granicus.if.org Git - clang/commitdiff
Apply NAKAMURA Takumi's workaround to fix thses tests on -Asserts build. The labels...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 15 Apr 2011 10:12:39 +0000 (10:12 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 15 Apr 2011 10:12:39 +0000 (10:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129562 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/for-range-temporaries.cpp
test/CodeGenCXX/for-range.cpp

index 285862f51f65ba224fa78e14da8625fe3e335b7f..be594ce5223d1272dfb06a27ed1261f72ae5c043 100644 (file)
@@ -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();
index 94b614f726b807e3e89cf1dec9ebc496ec683c9f..af4664462351621b195bd0803530e63d8bac27a6 100644 (file)
@@ -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();