mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
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. llvm-svn: 188174
This commit is contained in:
parent
501977eb7a
commit
19ae1175ae
@ -1,9 +1,9 @@
|
||||
// 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
|
||||
// RUN: FileCheck -input-file=%t.1 -check-prefix=darwin8 %s
|
||||
// RUN: FileCheck -input-file=%t.1 -check-prefix=CHECK-darwin8 %s
|
||||
// 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
|
||||
// RUN: FileCheck -input-file=%t.2 -check-prefix=darwin9 %s
|
||||
// RUN: FileCheck -input-file=%t.2 -check-prefix=CHECK-darwin9 %s
|
||||
// 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
|
||||
// RUN: FileCheck -input-file=%t.3 -check-prefix=darwin9 %s
|
||||
// RUN: FileCheck -input-file=%t.3 -check-prefix=CHECK-darwin9 %s
|
||||
|
||||
@interface MyClass {}
|
||||
- (void *)voidPtrM;
|
||||
|
@ -6,10 +6,10 @@ void test() {
|
||||
f0(0, 0);
|
||||
g0(0, 0);
|
||||
f1(0, 0);
|
||||
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:6 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:6 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: f0(<#float x#>, float y)
|
||||
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CC2 %s
|
||||
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
|
||||
// CHECK-CC2: f0(float x, <#float y#>)
|
||||
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CC3 %s
|
||||
// RUN: %clang_cc1 -std=c89 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CHECK-CC3 %s
|
||||
// CHECK-CC3: f1()
|
||||
}
|
||||
|
@ -17,12 +17,12 @@ void f();
|
||||
|
||||
void test() {
|
||||
f(Y(), 0, 0);
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: COMPLETION: Pattern : dynamic_cast<<#type#>>(<#expression#>)
|
||||
// CHECK-CC1: f(N::Y y, <#int ZZ#>)
|
||||
// CHECK-CC1-NEXT: f(int i, <#int j#>, int k)
|
||||
// CHECK-CC1-NEXT: f(float x, <#float y#>)
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:13 %s -o - | FileCheck -check-prefix=CC2 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:13 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
|
||||
// CHECK-CC2-NOT: f(N::Y y, int ZZ)
|
||||
// CHECK-CC2: f(int i, int j, <#int k#>)
|
||||
}
|
||||
|
@ -23,11 +23,11 @@ void test() {
|
||||
t2.
|
||||
}
|
||||
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:21:1 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:21:1 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: COMPLETION: T1 : [#void#]T1(<#float x#>, <#float y#>) : Aaa.
|
||||
// CHECK-CC1: COMPLETION: T2 : T2 : Bbb.
|
||||
// CHECK-CC1: COMPLETION: T5 : T5:: : Eee.
|
||||
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:23:6 %s -o - | FileCheck -check-prefix=CC2 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:23:6 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
|
||||
// CHECK-CC2: COMPLETION: T3 : [#void#]T3() : Ccc.
|
||||
// CHECK-CC2: COMPLETION: T4 : [#int#]T4 : Ddd.
|
||||
|
@ -21,7 +21,7 @@ namespace M {
|
||||
void test(enum N::C::Color color) {
|
||||
switch (color) {
|
||||
case
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:23:8 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:23:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: Blue : [#M::N::C::Color#]N::C::Blue
|
||||
// CHECK-CC1-NEXT: Green : [#M::N::C::Color#]N::C::Green
|
||||
// CHECK-CC1-NEXT: Indigo : [#M::N::C::Color#]N::C::Indigo
|
||||
|
@ -25,14 +25,14 @@ void test(enum Color color) {
|
||||
case
|
||||
}
|
||||
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:10 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:10 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: Blue
|
||||
// CHECK-CC1-NEXT: Green
|
||||
// CHECK-CC1-NEXT: Indigo
|
||||
// CHECK-CC1-NEXT: Orange
|
||||
// CHECK-CC1-NEXT: Violet
|
||||
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:25:10 %s -o - | FileCheck -check-prefix=CC2 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:25:10 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
|
||||
// CHECK-CC2: COMPLETION: Blue : [#enum Color#]Blue
|
||||
// CHECK-CC2-NEXT: COMPLETION: c2 : [#unsigned int#]c2
|
||||
// CHECK-CC2-NEXT: COMPLETION: color : [#enum Color#]color
|
||||
|
@ -19,7 +19,7 @@ void test(enum N::Color color) {
|
||||
break;
|
||||
|
||||
case
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: Blue : [#N::Color#]N::Blue
|
||||
// CHECK-CC1-NEXT: Green : [#N::Color#]N::Green
|
||||
// CHECK-CC1-NEXT: Indigo : [#N::Color#]N::Indigo
|
||||
|
@ -3,6 +3,6 @@ void f(float x, float y...);
|
||||
|
||||
void test() {
|
||||
::
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:5 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:5 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: f(<#int i#>{#, <#int j#>{#, <#int k#>#}#})
|
||||
// CHECK-CC1: f(<#float x#>, <#float y, ...#>)
|
||||
|
@ -6,7 +6,7 @@ struct Point {
|
||||
|
||||
void test(struct Point *p) {
|
||||
p->
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: x
|
||||
// CHECK-CC1: y
|
||||
// CHECK-CC1: z
|
||||
|
@ -11,7 +11,7 @@ namespace N2 {
|
||||
namespace I1 { }
|
||||
|
||||
namespace New =
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:13:18 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:13:18 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: I1
|
||||
// CHECK-CC1: I4
|
||||
// CHECK-CC1: I5
|
||||
|
@ -8,7 +8,7 @@ namespace N2 {
|
||||
namespace I1 { }
|
||||
|
||||
namespace
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:12 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:12 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: I1
|
||||
// CHECK-CC1-NEXT: I5
|
||||
|
||||
|
@ -10,7 +10,7 @@ namespace N {
|
||||
}
|
||||
|
||||
N::
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: A
|
||||
// CHECK-CC1: B
|
||||
// CHECK-CC1: M
|
||||
|
@ -4,7 +4,7 @@ id testCompleteAfterAtSign() {
|
||||
return @"";
|
||||
}
|
||||
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fno-const-strings -o - | FileCheck -check-prefix=AT %s
|
||||
// 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
|
||||
// CHECK-AT: COMPLETION: Pattern : [#NSString *#]"<#string#>"
|
||||
// CHECK-AT: COMPLETION: Pattern : [#id#](<#expression#>)
|
||||
// CHECK-AT: COMPLETION: Pattern : [#NSArray *#][<#objects, ...#>]
|
||||
@ -13,5 +13,5 @@ id testCompleteAfterAtSign() {
|
||||
// CHECK-AT: COMPLETION: Pattern : [#SEL#]selector(<#selector#>)
|
||||
// CHECK-AT: COMPLETION: Pattern : [#NSDictionary *#]{<#key#>: <#object, ...#>}
|
||||
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fconst-strings -o - | FileCheck -check-prefix=CONST-STRINGS %s
|
||||
// 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
|
||||
// CHECK-CONST-STRINGS: COMPLETION: Pattern : [#const char[]#]encode(<#type-name#>)
|
||||
|
@ -8,7 +8,7 @@ void f() {
|
||||
typedef float Float;
|
||||
|
||||
operator
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:11 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:11 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: +
|
||||
// CHECK-CC1: Float
|
||||
// CHECK-CC1: Integer
|
||||
|
@ -2,6 +2,6 @@ enum X { x };
|
||||
enum Y { y };
|
||||
|
||||
enum
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=-:4:6 < %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=-:4:6 < %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: X
|
||||
// CHECK-CC1: Y
|
||||
|
@ -7,6 +7,6 @@ void X();
|
||||
void test() {
|
||||
enum X { x };
|
||||
enum
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:9:7 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:9:7 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: X
|
||||
// CHECK-CC1: Y
|
||||
|
@ -15,7 +15,7 @@ namespace N {
|
||||
|
||||
void test() {
|
||||
class
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:17:10 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:17:10 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// FIXME: the redundant Y is really annoying... it needs qualification to
|
||||
// actually be useful. Here, it just looks redundant :(
|
||||
// CHECK-CC1: A
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
struct
|
||||
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s.h:4:8 -o - %s | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s.h:4:8 -o - %s | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: X
|
||||
// CHECK-CC1-NEXT: Y
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:8 -o - %s | FileCheck -check-prefix=CC2 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:8 -o - %s | FileCheck -check-prefix=CHECK-CC2 %s
|
||||
// CHECK-CC2: X
|
||||
// CHECK-CC2: Xa
|
||||
// CHECK-CC2: Y
|
||||
|
@ -12,7 +12,7 @@ namespace N2 {
|
||||
|
||||
void foo() {
|
||||
using namespace
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:14:20 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:14:20 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: I1
|
||||
// CHECK-CC1: I4
|
||||
// CHECK-CC1: I5
|
||||
|
@ -14,7 +14,7 @@ namespace N2 {
|
||||
int N3;
|
||||
|
||||
using
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: I1
|
||||
// CHECK-CC1: I4
|
||||
// CHECK-CC1: I5
|
||||
|
@ -1,6 +1,6 @@
|
||||
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
|
||||
// RUN: %clang_cc1 -x c++ -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
|
||||
// RUN: %clang_cc1 -x c++ -std=c++11 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CPP0X %s
|
||||
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-C %s
|
||||
// RUN: %clang_cc1 -x c++ -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-C %s
|
||||
// RUN: %clang_cc1 -x c++ -std=c++11 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-CPP0X %s
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix LSB %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-LSB %s
|
||||
|
||||
// CHECK-LSB: @.str = private unnamed_addr constant [8 x i8] c"string0\00"
|
||||
// CHECK-LSB: @.str1 = linker_private unnamed_addr constant [8 x i8] c"string1\00"
|
||||
@ -6,7 +6,7 @@
|
||||
// CHECK-LSB: @.str4 = internal unnamed_addr constant [6 x i16] [i16 116, i16 101, i16 115, i16 116, i16 8482, i16 0], align 2
|
||||
|
||||
|
||||
// RUN: %clang_cc1 -triple powerpc-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix MSB %s
|
||||
// RUN: %clang_cc1 -triple powerpc-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-MSB %s
|
||||
|
||||
// CHECK-MSB: @.str = private unnamed_addr constant [8 x i8] c"string0\00"
|
||||
// CHECK-MSB: @.str1 = linker_private unnamed_addr constant [8 x i8] c"string1\00"
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -O1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix GNU89 %s
|
||||
// RUN: %clang_cc1 -O1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix C99 %s
|
||||
// RUN: %clang_cc1 -O1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-GNU89 %s
|
||||
// RUN: %clang_cc1 -O1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-C99 %s
|
||||
|
||||
// CHECK-GNU89: define i32 @f0()
|
||||
// CHECK-C99: define i32 @f0()
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fno-builtin -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix YES %s
|
||||
// RUN: %clang_cc1 -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix NO %s
|
||||
// RUN: %clang_cc1 -fno-builtin -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-YES %s
|
||||
// RUN: %clang_cc1 -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-NO %s
|
||||
|
||||
extern float crealf(float _Complex);
|
||||
extern double creal(double _Complex);
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fmath-errno -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix YES %s
|
||||
// RUN: %clang_cc1 -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix NO %s
|
||||
// RUN: %clang_cc1 -fmath-errno -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-YES %s
|
||||
// RUN: %clang_cc1 -emit-llvm -o - %s -triple i386-unknown-unknown | FileCheck -check-prefix CHECK-NO %s
|
||||
|
||||
// CHECK-YES: define void @test_sqrt
|
||||
// CHECK-NO: define void @test_sqrt
|
||||
|
@ -1,8 +1,8 @@
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X32 %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X32 %s
|
||||
// CHECK-X32: %struct.s0 = type { i64, i64, i32, [12 x i32] }
|
||||
// CHECK-X32: %struct.s1 = type { [15 x i32], %struct.s0 }
|
||||
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X64 %s
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X64 %s
|
||||
// CHECK-X64: %struct.s0 = type <{ i64, i64, i32, [12 x i32] }>
|
||||
// CHECK-X64: %struct.s1 = type <{ [15 x i32], %struct.s0 }>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X32 %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X32 %s
|
||||
// CHECK-X32: %union.command = type <{ i8*, [2 x i8] }>
|
||||
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X64 %s
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X64 %s
|
||||
// CHECK-X64: %union.command = type <{ i8*, [2 x i8] }>
|
||||
|
||||
// <rdar://problem/7184250>
|
||||
|
@ -1,6 +1,6 @@
|
||||
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=C %s
|
||||
// RUN: %clang_cc1 -x c++ -std=c++0x -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CPP0X %s
|
||||
// RUN: %clang_cc1 -x c++ -std=c++0x -fshort-wchar -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=SHORTWCHAR %s
|
||||
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-C %s
|
||||
// RUN: %clang_cc1 -x c++ -std=c++0x -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-CPP0X %s
|
||||
// RUN: %clang_cc1 -x c++ -std=c++0x -fshort-wchar -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -check-prefix=CHECK-SHORTWCHAR %s
|
||||
|
||||
// This file contains a mix of ISO-8859-1 and UTF-8 encoded data.
|
||||
// the literal assigned to 'aa' should be the ISO-8859-1 encoding for the code
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -triple i386-unknown-unknown -fexceptions -emit-llvm -o - %s | FileCheck %s
|
||||
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix NOEXC %s
|
||||
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix CHECK-NOEXC %s
|
||||
|
||||
int opaque();
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -emit-llvm %s -o - -triple i386-pc-win32 | FileCheck %s --check-prefix=WIN
|
||||
// RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-apple-darwin | FileCheck %s --check-prefix=DAR
|
||||
// RUN: %clang_cc1 -emit-llvm %s -o - -triple i386-pc-win32 | FileCheck %s --check-prefix=CHECK-WIN
|
||||
// RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-apple-darwin | FileCheck %s --check-prefix=CHECK-DAR
|
||||
// This should pass for any endianness combination of host and target.
|
||||
|
||||
// This bit is taken from Sema/wchar.c so we can avoid the wchar.h include.
|
||||
|
@ -1,12 +1,12 @@
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=PCC
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
|
||||
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s --check-prefix=PCC
|
||||
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=PCC
|
||||
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
|
||||
// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
|
||||
// RUN: %clang_cc1 -triple i386-pc-win32 -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=PCC
|
||||
// RUN: %clang_cc1 -triple i386-pc-win32 -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=REG
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-PCC
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
|
||||
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-PCC
|
||||
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-PCC
|
||||
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
|
||||
// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
|
||||
// RUN: %clang_cc1 -triple i386-pc-win32 -fpcc-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-PCC
|
||||
// RUN: %clang_cc1 -triple i386-pc-win32 -freg-struct-return -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK-REG
|
||||
|
||||
typedef struct { int a,b,c,d; } Big;
|
||||
typedef struct { int i; } Small;
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
struct A { A(const A&, int i1 = 1); };
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -emit-llvm %s -o - > %t
|
||||
// RUN: FileCheck %s -check-prefix=1 < %t
|
||||
// RUN: FileCheck %s -check-prefix=2 < %t
|
||||
// RUN: FileCheck %s -check-prefix=CHECK-1 < %t
|
||||
// RUN: FileCheck %s -check-prefix=CHECK-2 < %t
|
||||
|
||||
int f();
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -O3 | FileCheck -check-prefix LP64 %s
|
||||
// RUN: %clang_cc1 %s -triple=i386-apple-darwin10 -emit-llvm -o - -O3 | FileCheck -check-prefix LP32 %s
|
||||
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -O3 | FileCheck -check-prefix CHECK-LP64 %s
|
||||
// RUN: %clang_cc1 %s -triple=i386-apple-darwin10 -emit-llvm -o - -O3 | FileCheck -check-prefix CHECK-LP32 %s
|
||||
|
||||
// CHECK-LP64: %union.Test1 = type { i32, [4 x i8] }
|
||||
union Test1 {
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
struct A {
|
||||
A(int);
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
// PR4826
|
||||
struct A {
|
||||
|
@ -1,7 +1,7 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
// XFAIL: *
|
||||
extern "C" int printf(...);
|
||||
struct S {
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
struct A {};
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm -fexceptions %s -o - |FileCheck %s
|
||||
// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck -check-prefix NOEXC %s
|
||||
// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck -check-prefix CHECK-NOEXC %s
|
||||
|
||||
struct A {
|
||||
A();
|
||||
|
@ -15,30 +15,30 @@ void Test2::test2(const char *fmt, va_list ap) {
|
||||
|
||||
// RUN: %clang_cc1 %s -emit-llvm -o - \
|
||||
// RUN: -triple armv7-unknown-linux \
|
||||
// RUN: | FileCheck -check-prefix=MANGLE-ARM-AAPCS %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-MANGLE-ARM-AAPCS %s
|
||||
// CHECK-MANGLE-ARM-AAPCS: @_ZN5test15test1EPKcSt9__va_list
|
||||
// CHECK-MANGLE-ARM-AAPCS: @_ZN5Test25test2EPKcSt9__va_list
|
||||
|
||||
// RUN: %clang_cc1 %s -emit-llvm -o - \
|
||||
// RUN: -triple armv7-unknown-linux -target-abi apcs-gnu \
|
||||
// RUN: | FileCheck -check-prefix=MANGLE-ARM-APCS %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-MANGLE-ARM-APCS %s
|
||||
// CHECK-MANGLE-ARM-APCS: @_ZN5test15test1EPKcPv
|
||||
// CHECK-MANGLE-ARM-APCS: @_ZN5Test25test2EPKcPv
|
||||
|
||||
// RUN: %clang_cc1 %s -emit-llvm -o - \
|
||||
// RUN: -triple mipsel-unknown-linux \
|
||||
// RUN: | FileCheck -check-prefix=MANGLE-MIPSEL %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-MANGLE-MIPSEL %s
|
||||
// CHECK-MANGLE-MIPSEL: @_ZN5test15test1EPKcPv
|
||||
// CHECK-MANGLE-MIPSEL: @_ZN5Test25test2EPKcPv
|
||||
|
||||
// RUN: %clang_cc1 %s -emit-llvm -o - \
|
||||
// RUN: -triple i686-unknown-linux \
|
||||
// RUN: | FileCheck -check-prefix=MANGLE-X86 %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-MANGLE-X86 %s
|
||||
// CHECK-MANGLE-X86: @_ZN5test15test1EPKcPc
|
||||
// CHECK-MANGLE-X86: @_ZN5Test25test2EPKcPc
|
||||
|
||||
// RUN: %clang_cc1 %s -emit-llvm -o - \
|
||||
// RUN: -triple x86_64-unknown-linux \
|
||||
// RUN: | FileCheck -check-prefix=MANGLE-X86-64 %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-MANGLE-X86-64 %s
|
||||
// CHECK-MANGLE-X86-64: @_ZN5test15test1EPKcP13__va_list_tag
|
||||
// CHECK-MANGLE-X86-64: @_ZN5Test25test2EPKcP13__va_list_tag
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
// 13.3.3.2 Ranking implicit conversion sequences
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables -emit-llvm -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables -fhidden-weak-vtables -emit-llvm -o - | FileCheck -check-prefix=HIDDEN %s
|
||||
// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables -fhidden-weak-vtables -emit-llvm -o - | FileCheck -check-prefix=CHECK-HIDDEN %s
|
||||
|
||||
namespace Test1 {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o %t-64.ll
|
||||
// RUN: FileCheck -check-prefix LPLL64 --input-file=%t-64.ll %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LPLL64 --input-file=%t-64.ll %s
|
||||
|
||||
extern "C" int printf(...);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.layout %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.layout %s
|
||||
// rdar://12184410
|
||||
// rdar://12752901
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -emit-llvm %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// rdar://9503326
|
||||
// rdar://9606600
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// REQUIRES: x86-64-registered-target
|
||||
// rdar://8991729
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix LP64 %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix LP64 %s
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s
|
||||
// rdar: // 7849824
|
||||
// <rdar://problem/12547611>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.layout %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.layout %s
|
||||
// rdar://12752901
|
||||
|
||||
struct S {
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix LP64 %s
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s
|
||||
// rdar: // 7351147
|
||||
|
||||
@interface A
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck -check-prefix LP64 %s
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s
|
||||
// rdar: // 7445205
|
||||
|
||||
@interface Foo
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -fencode-extended-block-signature -emit-llvm %s -o - | FileCheck %s
|
||||
// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s -check-prefix=BRIEF
|
||||
// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-BRIEF
|
||||
// rdar://12109031
|
||||
|
||||
@class NSString, NSArray;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck -check-prefix LP64 %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck -check-prefix LP32 %s
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP64 %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck -check-prefix CHECK-LP32 %s
|
||||
|
||||
typedef struct objc_class *Class;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// REQUIRES: x86-64-registered-target
|
||||
// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
|
||||
// rdar://8800513
|
||||
@interface NSObject {
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-64-registered-target
|
||||
// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
|
||||
@interface NSObject {
|
||||
id isa;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o %t-64.ll
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.ll %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.ll %s
|
||||
// rdar: // 8390455
|
||||
|
||||
@class NSArray;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix C %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix CP %s
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix CHECK-C %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o - %s | FileCheck -check-prefix CHECK-CP %s
|
||||
|
||||
static int count;
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -fblocks -fobjc-gc -triple i386-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
@interface NSObject
|
||||
- copy;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | FileCheck -check-prefix LP64 %s
|
||||
// RUN: %clang_cc1 -fblocks -fobjc-gc -triple i386-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | FileCheck -check-prefix LP64 %s
|
||||
// RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-LP64 %s
|
||||
// RUN: %clang_cc1 -fblocks -fobjc-gc -triple i386-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | FileCheck -check-prefix CHECK-LP64 %s
|
||||
|
||||
@interface MyView
|
||||
- (void)MyView_sharedInit;
|
||||
|
@ -1,8 +1,8 @@
|
||||
// REQUIRES: x86-registered-target,x86-64-registered-target
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -S %s -o %t-64.s
|
||||
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
|
||||
// RUN: %clang_cc1 -triple i386-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-32.s
|
||||
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
|
||||
|
||||
@protocol MyProtocol
|
||||
@end
|
||||
|
@ -1,53 +1,53 @@
|
||||
// RUN: %clang -fcolor-diagnostics -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CD %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-CD %s
|
||||
// CHECK-CD: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fno-color-diagnostics -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=NCD %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-NCD %s
|
||||
// CHECK-NCD-NOT: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fdiagnostics-color -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=DC %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-DC %s
|
||||
// CHECK-DC: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fno-diagnostics-color -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=NDC %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-NDC %s
|
||||
// CHECK-NDC-NOT: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fdiagnostics-color=always -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=DCE_A %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-DCE_A %s
|
||||
// CHECK-DCE_A: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fdiagnostics-color=never -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=DCE_N %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-DCE_N %s
|
||||
// CHECK-DCE_N-NOT: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// The test doesn't run in a PTY, so "auto" defaults to off.
|
||||
// RUN: %clang -fdiagnostics-color=auto -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=DCE_AUTO %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-DCE_AUTO %s
|
||||
// CHECK-DCE_AUTO-NOT: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fdiagnostics-color=foo -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=DCE_FOO %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-DCE_FOO %s
|
||||
// CHECK-DCE_FOO: error: the clang compiler does not support '-fdiagnostics-color=foo'
|
||||
|
||||
// Check that the last flag wins.
|
||||
// RUN: %clang -fno-color-diagnostics -fdiagnostics-color -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=NCD_DC_S %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-NCD_DC_S %s
|
||||
// CHECK-NCD_DC_S: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fcolor-diagnostics -fno-diagnostics-color -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CD_NDC_S %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-CD_NDC_S %s
|
||||
// CHECK-CD_NDC_S-NOT: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fdiagnostics-color -fno-color-diagnostics -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=DC_NCD_S %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-DC_NCD_S %s
|
||||
// CHECK-DC_NCD_S-NOT: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fno-diagnostics-color -fcolor-diagnostics -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=NDC_CD_S %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-NDC_CD_S %s
|
||||
// CHECK-NDC_CD_S: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
||||
// RUN: %clang -fcolor-diagnostics -fdiagnostics-color=auto -### -c %s 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CD_DCE_AUTO_S %s
|
||||
// RUN: | FileCheck --check-prefix=CHECK-CD_DCE_AUTO_S %s
|
||||
// CHECK-CD_DCE_AUTO_S-NOT: clang{{.*}}" "-fcolor-diagnostics"
|
||||
|
@ -1,17 +1,17 @@
|
||||
// RUN: %clang -target i386-apple-darwin10 -### -x assembler -c %s \
|
||||
// RUN: -no-integrated-as -static -dynamic 2>%t
|
||||
// RUN: FileCheck -check-prefix=STATIC_AND_DYNAMIC-32 --input-file %t %s
|
||||
// RUN: FileCheck -check-prefix=CHECK-STATIC_AND_DYNAMIC-32 --input-file %t %s
|
||||
//
|
||||
// CHECK-STATIC_AND_DYNAMIC-32: as{{(.exe)?}}" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o"
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -### -x assembler -c %s \
|
||||
// RUN: -no-integrated-as -static 2>%t
|
||||
// RUN: FileCheck -check-prefix=STATIC-64 --input-file %t %s
|
||||
// RUN: FileCheck -check-prefix=CHECK-STATIC-64 --input-file %t %s
|
||||
//
|
||||
// CHECK-STATIC-64: as{{(.exe)?}}" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o"
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -### \
|
||||
// RUN: -arch armv6 -no-integrated-as -x assembler -c %s 2>%t
|
||||
// RUN: FileCheck -check-prefix=ARMV6 --input-file %t %s
|
||||
// RUN: FileCheck -check-prefix=CHECK-ARMV6 --input-file %t %s
|
||||
//
|
||||
// CHECK-ARMV6: as{{(.exe)?}}" "-arch" "armv6" "-o"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch i386 -mmacosx-version-min=10.5 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-I386_OSX10_5 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-I386_OSX10_5 < %t %s
|
||||
|
||||
// CHECK-CHECK-I386_OSX10_5: "-cc1"
|
||||
// CHECK-CHECK-I386_OSX10_5: -fobjc-runtime=macosx-fragile-10.5
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch i386 -mmacosx-version-min=10.6 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-I386_OSX10_6 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-I386_OSX10_6 < %t %s
|
||||
|
||||
// CHECK-CHECK-I386_OSX10_6: "-cc1"
|
||||
// CHECK-CHECK-I386_OSX10_6: -fobjc-runtime=macosx-fragile-10.6
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch i386 -miphoneos-version-min=3.0 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-I386_IPHONE3_0 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-I386_IPHONE3_0 < %t %s
|
||||
|
||||
// CHECK-CHECK-I386_IPHONE3_0: "-cc1"
|
||||
// CHECK-CHECK-I386_IPHONE3_0: -fobjc-runtime=ios-3.0
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch x86_64 -mmacosx-version-min=10.5 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-X86_64_OSX10_5 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-X86_64_OSX10_5 < %t %s
|
||||
|
||||
// CHECK-CHECK-X86_64_OSX10_5: "-cc1"
|
||||
// CHECK-CHECK-X86_64_OSX10_5: -fobjc-runtime=macosx-10.5
|
||||
@ -42,7 +42,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch x86_64 -mmacosx-version-min=10.6 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-X86_64_OSX10_6 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-X86_64_OSX10_6 < %t %s
|
||||
|
||||
// CHECK-CHECK-X86_64_OSX10_6: "-cc1"
|
||||
// CHECK-CHECK-X86_64_OSX10_6: -fobjc-runtime=macosx-10.6
|
||||
@ -51,7 +51,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch x86_64 -miphoneos-version-min=3.0 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-X86_64_IPHONE3_0 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-X86_64_IPHONE3_0 < %t %s
|
||||
|
||||
// CHECK-CHECK-X86_64_IPHONE3_0: "-cc1"
|
||||
// CHECK-CHECK-X86_64_IPHONE3_0: -fobjc-runtime=ios-3.0
|
||||
@ -62,7 +62,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch armv7 -mmacosx-version-min=10.5 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-ARMV7_OSX10_5 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-ARMV7_OSX10_5 < %t %s
|
||||
|
||||
// CHECK-CHECK-ARMV7_OSX10_5: "-cc1"
|
||||
// CHECK-CHECK-ARMV7_OSX10_5: -fobjc-runtime=macosx-10.5
|
||||
@ -71,7 +71,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch armv7 -mmacosx-version-min=10.6 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-ARMV7_OSX10_6 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-ARMV7_OSX10_6 < %t %s
|
||||
|
||||
// CHECK-CHECK-ARMV7_OSX10_6: "-cc1"
|
||||
// CHECK-CHECK-ARMV7_OSX10_6: -fobjc-runtime=macosx-10.6
|
||||
@ -80,7 +80,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch armv7 -miphoneos-version-min=3.0 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-ARMV7_IPHONE3_0 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-ARMV7_IPHONE3_0 < %t %s
|
||||
|
||||
// CHECK-CHECK-ARMV7_IPHONE3_0: "-cc1"
|
||||
// CHECK-CHECK-ARMV7_IPHONE3_0: -fobjc-runtime=ios-3.0
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch x86_64 -fobjc-abi-version=1 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-X86_64_ABI1 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-X86_64_ABI1 < %t %s
|
||||
|
||||
// CHECK-CHECK-X86_64_ABI1: "-cc1"
|
||||
// CHECK-CHECK-X86_64_ABI1: -fobjc-runtime=macosx-fragile-10.6.0
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch i386 -fobjc-abi-version=2 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-I386_ABI2 < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-I386_ABI2 < %t %s
|
||||
|
||||
// CHECK-CHECK-I386_ABI2: "-cc1"
|
||||
// CHECK-CHECK-I386_ABI2: -fobjc-runtime=macosx-10.6.0
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -S -### %s \
|
||||
// RUN: -arch i386 -fobjc-runtime=ios-5.0 2> %t
|
||||
// RUN: FileCheck --check-prefix CHECK-I386_IOS < %t %s
|
||||
// RUN: FileCheck --check-prefix CHECK-CHECK-I386_IOS < %t %s
|
||||
|
||||
// CHECK-CHECK-I386_IOS: "-cc1"
|
||||
// CHECK-CHECK-I386_IOS: -fobjc-runtime=ios-5.0
|
||||
|
@ -1,7 +1,7 @@
|
||||
// RUN: %clang -fpack-struct -### %s 2> %t
|
||||
// RUN: FileCheck < %t %s
|
||||
// RUN: %clang -fpack-struct=8 -### %s 2> %t
|
||||
// RUN: FileCheck < %t %s --check-prefix=EQ
|
||||
// RUN: FileCheck < %t %s --check-prefix=CHECK-EQ
|
||||
|
||||
// CHECK: "-cc1"
|
||||
// CHECK: "-fpack-struct=1"
|
||||
|
@ -2,64 +2,64 @@
|
||||
//
|
||||
// RUN: %clang -target arm-linux -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM %s
|
||||
// CHECK-ARM: as{{(.exe)?}}" "-mfloat-abi=soft"
|
||||
//
|
||||
// RUN: %clang -target arm-linux -mcpu=cortex-a8 -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM-MCPU %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM-MCPU %s
|
||||
// CHECK-ARM-MCPU: as{{(.exe)?}}" "-mfloat-abi=soft" "-mcpu=cortex-a8"
|
||||
//
|
||||
// RUN: %clang -target arm-linux -mfpu=neon -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM-MFPU %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM-MFPU %s
|
||||
// CHECK-ARM-MFPU: as{{(.exe)?}}" "-mfloat-abi=soft" "-mfpu=neon"
|
||||
//
|
||||
// RUN: %clang -target arm-linux -march=armv7-a -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM-MARCH %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM-MARCH %s
|
||||
// CHECK-ARM-MARCH: as{{(.exe)?}}" "-mfloat-abi=soft" "-march=armv7-a"
|
||||
//
|
||||
// RUN: %clang -target arm-linux -mcpu=cortex-a8 -mfpu=neon -march=armv7-a -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM-ALL %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM-ALL %s
|
||||
// CHECK-ARM-ALL: as{{(.exe)?}}" "-mfloat-abi=soft" "-march=armv7-a" "-mcpu=cortex-a8" "-mfpu=neon"
|
||||
//
|
||||
// RUN: %clang -target armv7-linux -mcpu=cortex-a8 -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM-TARGET %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM-TARGET %s
|
||||
// CHECK-ARM-TARGET: as{{(.exe)?}}" "-mfpu=neon" "-mfloat-abi=soft" "-mcpu=cortex-a8"
|
||||
//
|
||||
// RUN: %clang -target arm-linux -mfloat-abi=hard -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM-MFLOAT-ABI %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM-MFLOAT-ABI %s
|
||||
// CHECK-ARM-MFLOAT-ABI: as{{(.exe)?}}" "-mfloat-abi=hard"
|
||||
//
|
||||
// RUN: %clang -target arm-linux-androideabi -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM-ANDROID %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM-ANDROID %s
|
||||
// CHECK-ARM-ANDROID: as{{(.exe)?}}" "-mfloat-abi=soft"
|
||||
//
|
||||
// RUN: %clang -target arm-linux-androideabi -march=armv7-a -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM-ANDROID-SOFTFP %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM-ANDROID-SOFTFP %s
|
||||
// CHECK-ARM-ANDROID-SOFTFP: as{{(.exe)?}}" "-mfloat-abi=softfp" "-march=armv7-a"
|
||||
//
|
||||
// RUN: %clang -target arm-linux-eabi -mhard-float -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=ARM-HARDFP %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-ARM-HARDFP %s
|
||||
// CHECK-ARM-HARDFP: as{{(.exe)?}}" "-mfloat-abi=hard"
|
||||
//
|
||||
// RUN: %clang -target ppc-linux -mcpu=invalid-cpu -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=PPC-NO-MCPU %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-PPC-NO-MCPU %s
|
||||
// CHECK-PPC-NO-MCPU-NOT: as{{.*}} "-mcpu=invalid-cpu"
|
||||
//
|
||||
// RUN: %clang -target s390x-linux -### -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=Z-DEFAULT-ARCH %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-Z-DEFAULT-ARCH %s
|
||||
// CHECK-Z-DEFAULT-ARCH: as{{.*}} "-march=z10"
|
||||
//
|
||||
// RUN: %clang -target s390x-linux -march=z196 -### \
|
||||
// RUN: -no-integrated-as -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=Z-ARCH-Z196 %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-Z-ARCH-Z196 %s
|
||||
// CHECK-Z-ARCH-Z196: as{{.*}} "-march=z196"
|
||||
|
@ -1,6 +1,6 @@
|
||||
// RUN: c-index-test -write-pch %t.ast -fobjc-nonfragile-abi -fblocks -x objective-c %s
|
||||
// RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=scan %s
|
||||
// RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=load %s
|
||||
// RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=CHECK-scan %s
|
||||
// RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=CHECK-load %s
|
||||
|
||||
// This test checks how the @class resolves as a cursor when there is a real definition
|
||||
// that follows. <rdar://problem/7383421>
|
||||
|
@ -1,6 +1,6 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -emit-pch -x objective-c %s -o %t.ast
|
||||
// RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=scan %s
|
||||
// RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=load %s
|
||||
// RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=CHECK-scan %s
|
||||
// RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=CHECK-load %s
|
||||
|
||||
// This test checks how the @class resolves as a cursor when the @interface is implicitly defined.
|
||||
// See TestClassDecl.m for the corresponding test case. (<rdar://problem/7383421>)
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: c-index-test -test-load-source all %s | FileCheck %s
|
||||
// RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=ERR %s
|
||||
// RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-ERR %s
|
||||
|
||||
// CHECK: annotate-comments-unterminated.c:9:5: VarDecl=x:{{.*}} RawComment=[/** Aaa. */]{{.*}} BriefComment=[Aaa.]
|
||||
// CHECK: annotate-comments-unterminated.c:11:5: VarDecl=y:{{.*}} RawComment=[/**< Bbb. */]{{.*}} BriefComment=[Bbb.]
|
||||
|
@ -18,16 +18,16 @@ static int glob2;
|
||||
// RUN: c-index-test -write-pch %t.h.pch -x objective-c-header %s.h
|
||||
|
||||
// RUN: c-index-test -test-annotate-tokens=%s:5:1:7:1 %s -include %t.h \
|
||||
// RUN: | FileCheck -check-prefix=INTER %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-INTER %s
|
||||
// CHECK-INTER: Identifier: "meth1" [5:8 - 5:13] ObjCInstanceMethodDecl=meth1:5:8
|
||||
// CHECK-INTER: Identifier: "meth2" [6:8 - 6:13] ObjCInstanceMethodDecl=meth2:6:8
|
||||
|
||||
// RUN: c-index-test -test-annotate-tokens=%s:14:1:16:1 %s -include %t.h \
|
||||
// RUN: | FileCheck -check-prefix=IMPL %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-IMPL %s
|
||||
// CHECK-IMPL: Identifier: "meth1" [14:8 - 14:13] ObjCInstanceMethodDecl=meth1:14:8 (Definition)
|
||||
// CHECK-IMPL: Identifier: "meth2" [15:8 - 15:13] ObjCInstanceMethodDecl=meth2:15:8 (Definition)
|
||||
|
||||
// RUN: c-index-test -test-annotate-tokens=%s.h:7:1:9:1 %s -include %t.h \
|
||||
// RUN: | FileCheck -check-prefix=PCH %s
|
||||
// RUN: | FileCheck -check-prefix=CHECK-PCH %s
|
||||
// CHECK-PCH: Identifier: "meth1" [7:8 - 7:13] ObjCInstanceMethodDecl=meth1:7:8
|
||||
// CHECK-PCH: Identifier: "meth2" [8:8 - 8:13] ObjCInstanceMethodDecl=meth2:8:8
|
||||
|
@ -33,22 +33,22 @@
|
||||
//
|
||||
// RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-para-kind-01.xml
|
||||
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-01.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-02.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-03.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-04.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-05.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-06.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-07.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-08.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-09.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-10.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-11.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-12.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-13.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-01.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-02.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-03.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-04.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-05.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-06.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-07.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-08.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-09.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-10.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-11.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-12.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-function-13.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
//
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-para-kind-01.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-para-kind-02.xml 2>&1 | FileCheck %s -check-prefix=INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-para-kind-01.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
// RUN: not xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/invalid-para-kind-02.xml 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID
|
||||
|
||||
// CHECK-INVALID: fails to validate
|
||||
|
||||
|
@ -53,22 +53,22 @@
|
||||
return 0;
|
||||
}
|
||||
@end
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:47:16 %s | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:47:16 %s | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: {TypedText ReadonlyGetter}{{.*}}(brief comment: This is ReadonlyProperty)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:48:13 %s | FileCheck -check-prefix=CC2 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:48:13 %s | FileCheck -check-prefix=CHECK-CC2 %s
|
||||
// CHECK-CC2: {TypedText GetterInClassExtension}{{.*}}(brief comment: This is PropertyInClassExtension)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:49:13 %s | FileCheck -check-prefix=CC3 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:49:13 %s | FileCheck -check-prefix=CHECK-CC3 %s
|
||||
// CHECK-CC3: {TypedText PropertyInPrimaryClass}{{.*}}(brief comment: This is PropertyInPrimaryClass)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:50:13 %s | FileCheck -check-prefix=CC4 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:50:13 %s | FileCheck -check-prefix=CHECK-CC4 %s
|
||||
// CHECK-CC4: {TypedText Record}{{.*}}(brief comment: This is Record)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:51:9 %s | FileCheck -check-prefix=CC5 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:51:9 %s | FileCheck -check-prefix=CHECK-CC5 %s
|
||||
// CHECK-CC5: {TypedText setThisRecord:}{Placeholder (id)}{{.*}}(brief comment: This is Record)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:52:12 %s | FileCheck -check-prefix=CC6 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:52:12 %s | FileCheck -check-prefix=CHECK-CC6 %s
|
||||
// CHECK-CC6: {TypedText GetterInClassExtension}{{.*}}(brief comment: This is PropertyInClassExtension)
|
||||
|
||||
@interface AnotherAppDelegate
|
||||
@ -87,6 +87,6 @@
|
||||
self.ReadonlyGetter;
|
||||
}
|
||||
@end
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:87:6 %s | FileCheck -check-prefix=CC7 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:87:6 %s | FileCheck -check-prefix=CHECK-CC7 %s
|
||||
// CHECK-CC7: {TypedText ReadonlyGetter}{{.*}}(brief comment: This is getter = ReadonlyGetter)
|
||||
|
||||
|
@ -105,20 +105,20 @@ void test_CC5_CC6_CC7() {
|
||||
T100<int, long>::T105 t105;
|
||||
}
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:17:1 %s | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:17:1 %s | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: FunctionTemplate:{ResultType void}{TypedText T1}{{.*}}(brief comment: This is T1.)
|
||||
// CHECK-CC1: FunctionTemplate:{ResultType void}{TypedText T2}{{.*}}(brief comment: This is T2.)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:56:12 %s | FileCheck -check-prefix=CC2 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:56:12 %s | FileCheck -check-prefix=CHECK-CC2 %s
|
||||
// CHECK-CC2: CXXMethod:{ResultType void}{TypedText T4}{{.*}}(brief comment: This is T4.)
|
||||
// CHECK-CC2: VarDecl:{ResultType int}{TypedText T5}{{.*}}(brief comment: This is T5.)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:58:6 %s | FileCheck -check-prefix=CC3 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:58:6 %s | FileCheck -check-prefix=CHECK-CC3 %s
|
||||
// CHECK-CC3: FunctionTemplate:{ResultType void}{TypedText T11}{{.*}}(brief comment: This is T11.)
|
||||
// CHECK-CC3: CXXMethod:{ResultType void}{TypedText T6}{{.*}}(brief comment: This is T6.)
|
||||
// CHECK-CC3: FieldDecl:{ResultType int}{TypedText T7}{{.*}}(brief comment: This is T7.)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:59:12 %s | FileCheck -check-prefix=CC4 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:59:12 %s | FileCheck -check-prefix=CHECK-CC4 %s
|
||||
// CHECK-CC4: EnumConstantDecl:{ResultType T3<int>::T9}{TypedText T10}{{.*}}(brief comment: This is T10.)
|
||||
// FIXME: after we implement propagating comments through typedefs, this
|
||||
// typedef for implicit instantiation should pick up the documentation
|
||||
@ -128,16 +128,16 @@ void test_CC5_CC6_CC7() {
|
||||
// CHECK-CC4: ClassDecl:{TypedText T8}{{.*}}(brief comment: This is T8.)
|
||||
// CHECK-CC4: EnumDecl:{TypedText T9}{{.*}}(brief comment: This is T9.)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:102:20 %s | FileCheck -check-prefix=CC5 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:102:20 %s | FileCheck -check-prefix=CHECK-CC5 %s
|
||||
// CHECK-CC5: CXXMethod:{ResultType void}{TypedText T101}{{.*}}(brief comment: This is T101.)
|
||||
// CHECK-CC5: VarDecl:{ResultType int}{TypedText T102}{{.*}}(brief comment: This is T102.)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:104:8 %s | FileCheck -check-prefix=CC6 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:104:8 %s | FileCheck -check-prefix=CHECK-CC6 %s
|
||||
// CHECK-CC6: CXXMethod:{ResultType void}{TypedText T103}{{.*}}(brief comment: This is T103.)
|
||||
// CHECK-CC6: FieldDecl:{ResultType int}{TypedText T104}{{.*}}(brief comment: This is T104.)
|
||||
// CHECK-CC6: FunctionTemplate:{ResultType void}{TypedText T108}{{.*}}(brief comment: This is T108.)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:105:20 %s | FileCheck -check-prefix=CC7 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:105:20 %s | FileCheck -check-prefix=CHECK-CC7 %s
|
||||
// CHECK-CC7: ClassDecl:{TypedText T105}{{.*}}(brief comment: This is T105.)
|
||||
// CHECK-CC7: EnumDecl:{TypedText T106}{{.*}}(brief comment: This is T106.)
|
||||
// CHECK-CC7: EnumConstantDecl:{ResultType T100<int, long>::T106}{TypedText T107}{{.*}}(brief comment: This is T107.)
|
||||
|
@ -37,15 +37,15 @@ void test1() {
|
||||
t6.T8();
|
||||
}
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:32:1 %s | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:32:1 %s | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: FunctionDecl:{ResultType void}{TypedText T1}{{.*}}(brief comment: Aaa.)
|
||||
// CHECK-CC1: ClassDecl:{TypedText T2}{{.*}}(brief comment: Bbb.)
|
||||
// CHECK-CC1: Namespace:{TypedText T5}{{.*}}(brief comment: Eee.)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:34:6 %s | FileCheck -check-prefix=CC2 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:34:6 %s | FileCheck -check-prefix=CHECK-CC2 %s
|
||||
// CHECK-CC2: CXXMethod:{ResultType void}{TypedText T3}{{.*}}(brief comment: Ccc.)
|
||||
// CHECK-CC2: FieldDecl:{ResultType int}{TypedText T4}{{.*}}(brief comment: Ddd.)
|
||||
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:37:6 %s | FileCheck -check-prefix=CC3 %s
|
||||
// RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:37:6 %s | FileCheck -check-prefix=CHECK-CC3 %s
|
||||
// CHECK-CC3: CXXMethod:{ResultType void}{TypedText T7}{LeftParen (}{RightParen )} (34)(brief comment: Fff.)
|
||||
// CHECK-CC3: CXXMethod:{ResultType void}{TypedText T8}{LeftParen (}{RightParen )} (34)(brief comment: Ggg.)
|
||||
|
@ -3,6 +3,6 @@ void f() {
|
||||
std::
|
||||
}
|
||||
|
||||
// RUN: env CINDEXTEST_EDITING=1 c-index-test -code-completion-at=%s:3:8 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: env CINDEXTEST_EDITING=1 c-index-test -code-completion-at=%s:3:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: {ResultType void}{TypedText wibble}{LeftParen (}{RightParen )} (50)
|
||||
|
||||
|
@ -13,7 +13,7 @@ void foo()
|
||||
{
|
||||
Foo::
|
||||
|
||||
// RUN: c-index-test -code-completion-at=%s:14:8 %s -o - | FileCheck -check-prefix=CC1 %s
|
||||
// RUN: c-index-test -code-completion-at=%s:14:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
|
||||
// CHECK-CC1: FieldDecl:{ResultType C<Foo, class Bar>}{TypedText c} (35)
|
||||
// CHECK-CC1: ClassDecl:{TypedText Foo} (35)
|
||||
// CHECK-CC1: CXXMethod:{ResultType Foo &}{TypedText operator=}{LeftParen (}{Placeholder const Foo &}{RightParen )}
|
||||
|
@ -9,7 +9,7 @@
|
||||
int user_function(int a);
|
||||
|
||||
// RUN: c-index-test -test-load-source all %s -I %S/Inputs | FileCheck %s
|
||||
// RUN: c-index-test -test-load-source all %s -fretain-comments-from-system-headers -I %S/Inputs | FileCheck %s -check-prefix=RETAIN
|
||||
// RUN: c-index-test -test-load-source all %s -fretain-comments-from-system-headers -I %S/Inputs | FileCheck %s -check-prefix=CHECK-RETAIN
|
||||
|
||||
// CHECK: retain-comments-from-system-headers.h:7:5: FunctionDecl=system_function:7:5 Extent=[7:1 - 7:27]
|
||||
// CHECK: retain-comments-from-system-headers.c:9:5: FunctionDecl=user_function:9:5 RawComment=[/**\n * user_function\n * \param a Aaa.\n */] RawCommentRange=[5:1 - 8:4] BriefComment=[user_function]
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -dump-tokens %s 2>&1 | FileCheck %s
|
||||
// RUN: %clang_cc1 -dump-tokens -x assembler-with-cpp %s 2>&1 | FileCheck %s --check-prefix=ASM
|
||||
// RUN: %clang_cc1 -dump-tokens -x assembler-with-cpp %s 2>&1 | FileCheck %s --check-prefix=CHECK-ASM
|
||||
// PR3808
|
||||
|
||||
// CHECK: identifier '$A'
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -fsyntax-only -dM -E %s -triple x86_64-none-linux-gnu | FileCheck %s --check-prefix=X86
|
||||
// RUN: %clang_cc1 -fsyntax-only -dM -E %s -triple armv7-none-eabi | FileCheck %s --check-prefix=ARM
|
||||
// RUN: %clang_cc1 -fsyntax-only -dM -E %s -triple x86_64-none-linux-gnu | FileCheck %s --check-prefix=CHECK-X86
|
||||
// RUN: %clang_cc1 -fsyntax-only -dM -E %s -triple armv7-none-eabi | FileCheck %s --check-prefix=CHECK-ARM
|
||||
|
||||
// CHECK-X86-NOT: #define __WCHAR_UNSIGNED__
|
||||
// CHECK-X86: #define __WINT_UNSIGNED__ 1
|
||||
|
@ -1,6 +1,6 @@
|
||||
// RUN: %clang_cc1 -ftabstop 3 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=3 -strict-whitespace %s
|
||||
// RUN: %clang_cc1 -ftabstop 4 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=4 -strict-whitespace %s
|
||||
// RUN: %clang_cc1 -ftabstop 5 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=5 -strict-whitespace %s
|
||||
// RUN: %clang_cc1 -ftabstop 3 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-3 -strict-whitespace %s
|
||||
// RUN: %clang_cc1 -ftabstop 4 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-4 -strict-whitespace %s
|
||||
// RUN: %clang_cc1 -ftabstop 5 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-5 -strict-whitespace %s
|
||||
|
||||
// tab
|
||||
void* a = 1;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang -fmodules %s -### 2>&1 | FileCheck -check-prefix NO_MODULE_CACHE %s
|
||||
// RUN: %clang -fmodules -fmodules-cache-path=blarg %s -### 2>&1 | FileCheck -check-prefix WITH_MODULE_CACHE %s
|
||||
// RUN: %clang -fmodules %s -### 2>&1 | FileCheck -check-prefix CHECK-NO_MODULE_CACHE %s
|
||||
// RUN: %clang -fmodules -fmodules-cache-path=blarg %s -### 2>&1 | FileCheck -check-prefix CHECK-WITH_MODULE_CACHE %s
|
||||
|
||||
// CHECK-NO_MODULE_CACHE: {{clang.*"-fmodules-cache-path=.*ModuleCache"}}
|
||||
|
||||
|
@ -6,9 +6,9 @@
|
||||
// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-only -emit-llvm-only %s
|
||||
|
||||
// Test error when pch's -fobjc-arc state is different.
|
||||
// RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -include-pch %t -fsyntax-only -emit-llvm-only %s 2>&1 | FileCheck -check-prefix=ERR1 %s
|
||||
// RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -include-pch %t -fsyntax-only -emit-llvm-only %s 2>&1 | FileCheck -check-prefix=CHECK-ERR1 %s
|
||||
// RUN: %clang_cc1 -emit-pch -fblocks -triple x86_64-apple-darwin11 -x objective-c-header -o %t %S/Inputs/arc.h
|
||||
// RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-only -emit-llvm-only %s 2>&1 | FileCheck -check-prefix=ERR2 %s
|
||||
// RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-only -emit-llvm-only %s 2>&1 | FileCheck -check-prefix=CHECK-ERR2 %s
|
||||
|
||||
array0 a0;
|
||||
array1 a1;
|
||||
|
@ -4,8 +4,8 @@
|
||||
// Test with pch.
|
||||
// RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_container.h
|
||||
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
|
||||
// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
|
||||
// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
|
||||
// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s
|
||||
// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-IR %s
|
||||
|
||||
// expected-no-diagnostics
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// RUN: %clang_cc1 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -include-pch %t -verify %s
|
||||
// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
|
||||
// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
|
||||
// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s
|
||||
// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-IR %s
|
||||
|
||||
// expected-no-diagnostics
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// RUN: %clang_cc1 -emit-pch -x objective-c++ -std=c++0x -o %t %s
|
||||
// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x -verify %s
|
||||
// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x -ast-print %s | FileCheck -check-prefix=PRINT %s
|
||||
// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
|
||||
// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s
|
||||
// RUN: %clang_cc1 -include-pch %t -x objective-c++ -std=c++0x -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-IR %s
|
||||
|
||||
// expected-no-diagnostics
|
||||
|
||||
|
@ -3,14 +3,14 @@
|
||||
// RUN: %clang -x c-header %S/pch-dir.h -DFOO=bar -o %t.h.gch/cbar.gch
|
||||
// RUN: %clang -x c++-header -std=c++98 %S/pch-dir.h -o %t.h.gch/cpp.gch
|
||||
// RUN: %clang -include %t.h -DFOO=foo -fsyntax-only %s -Xclang -print-stats 2> %t.clog
|
||||
// RUN: FileCheck -check-prefix=C %s < %t.clog
|
||||
// RUN: FileCheck -check-prefix=CHECK-C %s < %t.clog
|
||||
// RUN: %clang -include %t.h -DFOO=bar -DBAR=bar -fsyntax-only %s -Xclang -ast-print > %t.cbarlog
|
||||
// RUN: FileCheck -check-prefix=CBAR %s < %t.cbarlog
|
||||
// RUN: FileCheck -check-prefix=CHECK-CBAR %s < %t.cbarlog
|
||||
// RUN: %clang -x c++ -include %t.h -std=c++98 -fsyntax-only %s -Xclang -print-stats 2> %t.cpplog
|
||||
// RUN: FileCheck -check-prefix=CPP %s < %t.cpplog
|
||||
// RUN: FileCheck -check-prefix=CHECK-CPP %s < %t.cpplog
|
||||
|
||||
// RUN: not %clang -x c++ -std=c++11 -include %t.h -fsyntax-only %s 2> %t.cpp11log
|
||||
// RUN: FileCheck -check-prefix=CPP11 %s < %t.cpp11log
|
||||
// RUN: FileCheck -check-prefix=CHECK-CPP11 %s < %t.cpp11log
|
||||
|
||||
// CHECK-CBAR: int bar
|
||||
int FOO;
|
||||
|
@ -1,8 +1,8 @@
|
||||
// RUN: %clang_cc1 -E %s -o %t.mm
|
||||
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %t.mm -o %t-rw.cpp
|
||||
// RUN: FileCheck -check-prefix LP --input-file=%t-rw.cpp %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o %t-modern-rw.cpp
|
||||
// RUN: FileCheck -check-prefix LP --input-file=%t-modern-rw.cpp %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-modern-rw.cpp %s
|
||||
// radar 7607781
|
||||
|
||||
typedef struct {
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp
|
||||
// RUN: FileCheck -check-prefix LP --input-file=%t-rw.cpp %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s
|
||||
// rdar://9846759
|
||||
|
||||
typedef void (^dispatch_block_t)(void);
|
||||
|
@ -1,8 +1,8 @@
|
||||
// RUN: %clang_cc1 -E %s -o %t.mm
|
||||
// RUN: %clang_cc1 -fms-extensions -rewrite-objc -g %t.mm -o %t-rw.cpp
|
||||
// RUN: FileCheck -check-prefix LINE --input-file=%t-rw.cpp %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LINE --input-file=%t-rw.cpp %s
|
||||
// RUN: %clang_cc1 -fms-extensions -rewrite-objc %t.mm -o %t-rwnog.cpp
|
||||
// RUN: FileCheck -check-prefix NOLINE --input-file=%t-rwnog.cpp %s
|
||||
// RUN: FileCheck -check-prefix CHECK-NOLINE --input-file=%t-rwnog.cpp %s
|
||||
// rdar://13138170
|
||||
|
||||
__attribute__((objc_root_class)) @interface MyObject {
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp
|
||||
// RUN: FileCheck -check-prefix LP --input-file=%t-rw.cpp %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s
|
||||
// radar 7575882
|
||||
|
||||
@interface F {
|
||||
|
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp
|
||||
// RUN: FileCheck -check-prefix LP --input-file=%t-rw.cpp %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s
|
||||
// radar 7630636
|
||||
|
||||
@class Y, Z;
|
||||
|
@ -1,8 +1,8 @@
|
||||
// RUN: %clang_cc1 -E %s -o %t.mm
|
||||
// RUN: %clang -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp
|
||||
// RUN: FileCheck -check-prefix LP --input-file=%t-rw.cpp %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s
|
||||
// RUN: %clang -g -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp
|
||||
// RUN: FileCheck -check-prefix LPG --input-file=%t-rw.cpp %s
|
||||
// RUN: FileCheck -check-prefix CHECK-LPG --input-file=%t-rw.cpp %s
|
||||
// rdar://13138170
|
||||
|
||||
int z();
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user