Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 931a4fe

Browse files
committed
Fix FileCheck --check-prefix lines.
Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188174 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 5335260 commit 931a4fe

File tree

103 files changed

+242
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+242
-242
lines changed

test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: %clang_cc1 -triple i386-apple-darwin8 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=range -analyzer-store=region -Wno-objc-root-class %s > %t.1 2>&1
2-
// RUN: FileCheck -input-file=%t.1 -check-prefix=darwin8 %s
2+
// RUN: FileCheck -input-file=%t.1 -check-prefix=CHECK-darwin8 %s
33
// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=range -analyzer-store=region -Wno-objc-root-class %s > %t.2 2>&1
4-
// RUN: FileCheck -input-file=%t.2 -check-prefix=darwin9 %s
4+
// RUN: FileCheck -input-file=%t.2 -check-prefix=CHECK-darwin9 %s
55
// RUN: %clang_cc1 -triple thumbv6-apple-ios4.0 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=range -analyzer-store=region -Wno-objc-root-class %s > %t.3 2>&1
6-
// RUN: FileCheck -input-file=%t.3 -check-prefix=darwin9 %s
6+
// RUN: FileCheck -input-file=%t.3 -check-prefix=CHECK-darwin9 %s
77

88
@interface MyClass {}
99
- (void *)voidPtrM;

test/CodeCompletion/call.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ void test() {
66
f0(0, 0);
77
g0(0, 0);
88
f1(0, 0);
9-
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:6 %s -o - | FileCheck -check-prefix=CC1 %s
9+
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:6 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1010
// CHECK-CC1: f0(<#float x#>, float y)
11-
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CC2 %s
11+
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
1212
// CHECK-CC2: f0(float x, <#float y#>)
13-
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CC3 %s
13+
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CHECK-CC3 %s
1414
// CHECK-CC3: f1()
1515
}

test/CodeCompletion/call.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ void f();
1717

1818
void test() {
1919
f(Y(), 0, 0);
20-
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC1 %s
20+
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
2121
// CHECK-CC1: COMPLETION: Pattern : dynamic_cast<<#type#>>(<#expression#>)
2222
// CHECK-CC1: f(N::Y y, <#int ZZ#>)
2323
// CHECK-CC1-NEXT: f(int i, <#int j#>, int k)
2424
// CHECK-CC1-NEXT: f(float x, <#float y#>)
25-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:13 %s -o - | FileCheck -check-prefix=CC2 %s
25+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:13 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
2626
// CHECK-CC2-NOT: f(N::Y y, int ZZ)
2727
// CHECK-CC2: f(int i, int j, <#int k#>)
2828
}

test/CodeCompletion/documentation.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ void test() {
2323
t2.
2424
}
2525

26-
// RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:21:1 %s -o - | FileCheck -check-prefix=CC1 %s
26+
// RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:21:1 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
2727
// CHECK-CC1: COMPLETION: T1 : [#void#]T1(<#float x#>, <#float y#>) : Aaa.
2828
// CHECK-CC1: COMPLETION: T2 : T2 : Bbb.
2929
// CHECK-CC1: COMPLETION: T5 : T5:: : Eee.
3030

31-
// RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:23:6 %s -o - | FileCheck -check-prefix=CC2 %s
31+
// RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:23:6 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
3232
// CHECK-CC2: COMPLETION: T3 : [#void#]T3() : Ccc.
3333
// CHECK-CC2: COMPLETION: T4 : [#int#]T4 : Ddd.

test/CodeCompletion/enum-switch-case-qualified.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace M {
2121
void test(enum N::C::Color color) {
2222
switch (color) {
2323
case
24-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:23:8 %s -o - | FileCheck -check-prefix=CC1 %s
24+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:23:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
2525
// CHECK-CC1: Blue : [#M::N::C::Color#]N::C::Blue
2626
// CHECK-CC1-NEXT: Green : [#M::N::C::Color#]N::C::Green
2727
// CHECK-CC1-NEXT: Indigo : [#M::N::C::Color#]N::C::Indigo

test/CodeCompletion/enum-switch-case.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ void test(enum Color color) {
2525
case
2626
}
2727

28-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:10 %s -o - | FileCheck -check-prefix=CC1 %s
28+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:10 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
2929
// CHECK-CC1: Blue
3030
// CHECK-CC1-NEXT: Green
3131
// CHECK-CC1-NEXT: Indigo
3232
// CHECK-CC1-NEXT: Orange
3333
// CHECK-CC1-NEXT: Violet
3434

35-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:25:10 %s -o - | FileCheck -check-prefix=CC2 %s
35+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:25:10 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
3636
// CHECK-CC2: COMPLETION: Blue : [#enum Color#]Blue
3737
// CHECK-CC2-NEXT: COMPLETION: c2 : [#unsigned int#]c2
3838
// CHECK-CC2-NEXT: COMPLETION: color : [#enum Color#]color

test/CodeCompletion/enum-switch-case.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void test(enum N::Color color) {
1919
break;
2020

2121
case
22-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CC1 %s
22+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
2323
// CHECK-CC1: Blue : [#N::Color#]N::Blue
2424
// CHECK-CC1-NEXT: Green : [#N::Color#]N::Green
2525
// CHECK-CC1-NEXT: Indigo : [#N::Color#]N::Indigo

test/CodeCompletion/functions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ void f(float x, float y...);
33

44
void test() {
55
::
6-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:5 %s -o - | FileCheck -check-prefix=CC1 %s
6+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:5 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
77
// CHECK-CC1: f(<#int i#>{#, <#int j#>{#, <#int k#>#}#})
88
// CHECK-CC1: f(<#float x#>, <#float y, ...#>)

test/CodeCompletion/member-access.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct Point {
66

77
void test(struct Point *p) {
88
p->
9-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CC1 %s
9+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1010
// CHECK-CC1: x
1111
// CHECK-CC1: y
1212
// CHECK-CC1: z

test/CodeCompletion/namespace-alias.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace N2 {
1111
namespace I1 { }
1212

1313
namespace New =
14-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:13:18 %s -o - | FileCheck -check-prefix=CC1 %s
14+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:13:18 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1515
// CHECK-CC1: I1
1616
// CHECK-CC1: I4
1717
// CHECK-CC1: I5

test/CodeCompletion/namespace.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace N2 {
88
namespace I1 { }
99

1010
namespace
11-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:12 %s -o - | FileCheck -check-prefix=CC1 %s
11+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:12 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1212
// CHECK-CC1: I1
1313
// CHECK-CC1-NEXT: I5
1414

test/CodeCompletion/nested-name-specifier.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace N {
1010
}
1111

1212
N::
13-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CC1 %s
13+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1414
// CHECK-CC1: A
1515
// CHECK-CC1: B
1616
// CHECK-CC1: M

test/CodeCompletion/objc-expr.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ id testCompleteAfterAtSign() {
44
return @"";
55
}
66

7-
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fno-const-strings -o - | FileCheck -check-prefix=AT %s
7+
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fno-const-strings -o - | FileCheck -check-prefix=CHECK-AT %s
88
// CHECK-AT: COMPLETION: Pattern : [#NSString *#]"<#string#>"
99
// CHECK-AT: COMPLETION: Pattern : [#id#](<#expression#>)
1010
// CHECK-AT: COMPLETION: Pattern : [#NSArray *#][<#objects, ...#>]
@@ -13,5 +13,5 @@ id testCompleteAfterAtSign() {
1313
// CHECK-AT: COMPLETION: Pattern : [#SEL#]selector(<#selector#>)
1414
// CHECK-AT: COMPLETION: Pattern : [#NSDictionary *#]{<#key#>: <#object, ...#>}
1515

16-
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fconst-strings -o - | FileCheck -check-prefix=CONST-STRINGS %s
16+
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fconst-strings -o - | FileCheck -check-prefix=CHECK-CONST-STRINGS %s
1717
// CHECK-CONST-STRINGS: COMPLETION: Pattern : [#const char[]#]encode(<#type-name#>)

test/CodeCompletion/operator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ void f() {
88
typedef float Float;
99

1010
operator
11-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:11 %s -o - | FileCheck -check-prefix=CC1 %s
11+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:11 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1212
// CHECK-CC1: +
1313
// CHECK-CC1: Float
1414
// CHECK-CC1: Integer

test/CodeCompletion/stdin.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ enum X { x };
22
enum Y { y };
33

44
enum
5-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=-:4:6 < %s -o - | FileCheck -check-prefix=CC1 %s
5+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=-:4:6 < %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
66
// CHECK-CC1: X
77
// CHECK-CC1: Y

test/CodeCompletion/tag.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ void X();
77
void test() {
88
enum X { x };
99
enum
10-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:9:7 %s -o - | FileCheck -check-prefix=CC1 %s
10+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:9:7 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1111
// CHECK-CC1: X
1212
// CHECK-CC1: Y

test/CodeCompletion/tag.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace N {
1515

1616
void test() {
1717
class
18-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:17:10 %s -o - | FileCheck -check-prefix=CC1 %s
18+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:17:10 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1919
// FIXME: the redundant Y is really annoying... it needs qualification to
2020
// actually be useful. Here, it just looks redundant :(
2121
// CHECK-CC1: A

test/CodeCompletion/truncation.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
struct
66

7-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s.h:4:8 -o - %s | FileCheck -check-prefix=CC1 %s
7+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s.h:4:8 -o - %s | FileCheck -check-prefix=CHECK-CC1 %s
88
// CHECK-CC1: X
99
// CHECK-CC1-NEXT: Y
10-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:8 -o - %s | FileCheck -check-prefix=CC2 %s
10+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:8 -o - %s | FileCheck -check-prefix=CHECK-CC2 %s
1111
// CHECK-CC2: X
1212
// CHECK-CC2: Xa
1313
// CHECK-CC2: Y

test/CodeCompletion/using-namespace.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace N2 {
1212

1313
void foo() {
1414
using namespace
15-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:14:20 %s -o - | FileCheck -check-prefix=CC1 %s
15+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:14:20 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1616
// CHECK-CC1: I1
1717
// CHECK-CC1: I4
1818
// CHECK-CC1: I5

test/CodeCompletion/using.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace N2 {
1414
int N3;
1515

1616
using
17-
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CC1 %s
17+
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
1818
// CHECK-CC1: I1
1919
// CHECK-CC1: I4
2020
// CHECK-CC1: I5

test/CodeGen/char-literal.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
2-
// RUN: %clang_cc1 -x c++ -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
3-
// RUN: %clang_cc1 -x c++ -std=c++11 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CPP0X %s
1+
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-C %s
2+
// RUN: %clang_cc1 -x c++ -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-C %s
3+
// RUN: %clang_cc1 -x c++ -std=c++11 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-CPP0X %s
44

55
#include <stddef.h>
66

test/CodeGen/darwin-string-literals.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix LSB %s
1+
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-LSB %s
22

33
// CHECK-LSB: @.str = private unnamed_addr constant [8 x i8] c"string0\00"
44
// CHECK-LSB: @.str1 = linker_private unnamed_addr constant [8 x i8] c"string1\00"
55
// CHECK-LSB: @.str2 = internal unnamed_addr constant [18 x i16] [i16 104, i16 101, i16 108, i16 108, i16 111, i16 32, i16 8594, i16 32, i16 9731, i16 32, i16 8592, i16 32, i16 119, i16 111, i16 114, i16 108, i16 100, i16 0], align 2
66
// CHECK-LSB: @.str4 = internal unnamed_addr constant [6 x i16] [i16 116, i16 101, i16 115, i16 116, i16 8482, i16 0], align 2
77

88

9-
// RUN: %clang_cc1 -triple powerpc-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix MSB %s
9+
// RUN: %clang_cc1 -triple powerpc-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-MSB %s
1010

1111
// CHECK-MSB: @.str = private unnamed_addr constant [8 x i8] c"string0\00"
1212
// CHECK-MSB: @.str1 = linker_private unnamed_addr constant [8 x i8] c"string1\00"

test/CodeGen/inline2.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 -O1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix GNU89 %s
2-
// RUN: %clang_cc1 -O1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix C99 %s
1+
// RUN: %clang_cc1 -O1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-GNU89 %s
2+
// RUN: %clang_cc1 -O1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-C99 %s
33

44
// CHECK-GNU89: define i32 @f0()
55
// CHECK-C99: define i32 @f0()

test/CodeGen/libcalls-complex.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 -fno-builtin -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix YES %s
2-
// RUN: %clang_cc1 -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix NO %s
1+
// RUN: %clang_cc1 -fno-builtin -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-YES %s
2+
// RUN: %clang_cc1 -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-NO %s
33

44
extern float crealf(float _Complex);
55
extern double creal(double _Complex);

test/CodeGen/libcalls.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 -fmath-errno -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix YES %s
2-
// RUN: %clang_cc1 -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix NO %s
1+
// RUN: %clang_cc1 -fmath-errno -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-YES %s
2+
// RUN: %clang_cc1 -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-NO %s
33

44
// CHECK-YES: define void @test_sqrt
55
// CHECK-NO: define void @test_sqrt

test/CodeGen/pragma-pack-2.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X32 %s
1+
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X32 %s
22
// CHECK-X32: %struct.s0 = type { i64, i64, i32, [12 x i32] }
33
// CHECK-X32: %struct.s1 = type { [15 x i32], %struct.s0 }
44

5-
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X64 %s
5+
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X64 %s
66
// CHECK-X64: %struct.s0 = type <{ i64, i64, i32, [12 x i32] }>
77
// CHECK-X64: %struct.s1 = type <{ [15 x i32], %struct.s0 }>
88

test/CodeGen/pragma-pack-3.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X32 %s
1+
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X32 %s
22
// CHECK-X32: %union.command = type <{ i8*, [2 x i8] }>
33

4-
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X64 %s
4+
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X64 %s
55
// CHECK-X64: %union.command = type <{ i8*, [2 x i8] }>
66

77
// <rdar://problem/7184250>

test/CodeGen/string-literal-unicode-conversion.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
2-
// RUN: %clang_cc1 -x c++ -std=c++0x -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CPP0X %s
3-
// RUN: %clang_cc1 -x c++ -std=c++0x -fshort-wchar -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=SHORTWCHAR %s
1+
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-C %s
2+
// RUN: %clang_cc1 -x c++ -std=c++0x -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-CPP0X %s
3+
// RUN: %clang_cc1 -x c++ -std=c++0x -fshort-wchar -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-SHORTWCHAR %s
44

55
// This file contains a mix of ISO-8859-1 and UTF-8 encoded data.
66
// the literal assigned to 'aa' should be the ISO-8859-1 encoding for the code

test/CodeGen/unwind-attr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -triple i386-unknown-unknown -fexceptions -emit-llvm -o - %s | FileCheck %s
2-
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix NOEXC %s
2+
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix CHECK-NOEXC %s
33

44
int opaque();
55

test/CodeGen/wchar-const.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 -emit-llvm %s -o - -triple i386-pc-win32 | FileCheck %s --check-prefix=WIN
2-
// RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-apple-darwin | FileCheck %s --check-prefix=DAR
1+
// RUN: %clang_cc1 -emit-llvm %s -o - -triple i386-pc-win32 | FileCheck %s --check-prefix=CHECK-WIN
2+
// RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-apple-darwin | FileCheck %s --check-prefix=CHECK-DAR
33
// This should pass for any endianness combination of host and target.
44

55
// This bit is taken from Sema/wchar.c so we can avoid the wchar.h include.

test/CodeGen/x86_32-fpcc-struct-return.c

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
2-
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=PCC
3-
// RUN: %clang_cc1 -triple i386-apple-darwin9 -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
4-
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s --check-prefix=PCC
5-
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=PCC
6-
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
7-
// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
8-
// RUN: %clang_cc1 -triple i386-pc-win32 -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=PCC
9-
// RUN: %clang_cc1 -triple i386-pc-win32 -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
1+
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
2+
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-PCC
3+
// RUN: %clang_cc1 -triple i386-apple-darwin9 -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
4+
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-PCC
5+
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-PCC
6+
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
7+
// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
8+
// RUN: %clang_cc1 -triple i386-pc-win32 -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-PCC
9+
// RUN: %clang_cc1 -triple i386-pc-win32 -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
1010

1111
typedef struct { int a,b,c,d; } Big;
1212
typedef struct { int i; } Small;

test/CodeGenCXX/PR5050-constructor-conversion.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// REQUIRES: x86-registered-target,x86-64-registered-target
22
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
3-
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
3+
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
44
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
5-
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
5+
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
66

77
struct A { A(const A&, int i1 = 1); };
88

test/CodeGenCXX/anonymous-namespaces.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -emit-llvm %s -o - > %t
2-
// RUN: FileCheck %s -check-prefix=1 < %t
3-
// RUN: FileCheck %s -check-prefix=2 < %t
2+
// RUN: FileCheck %s -check-prefix=CHECK-1 < %t
3+
// RUN: FileCheck %s -check-prefix=CHECK-2 < %t
44

55
int f();
66

0 commit comments

Comments
 (0)