repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git]
/
clang
/
test
/
Preprocessor
/
macro_expand.c
blob
430068ba7295d2debf0154cae68d80c8221fe885
1
// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
2
3
#define X() Y
4
#define Y() X
5
6
A
:
X
()()()
7
// CHECK: {{^}}A: Y{{$}}
8
9
// PR3927
10
#define f(x) h(x
11
#define for(x) h(x
12
#define h(x) x()
13
B
:
f
(
f
))
14
C
:
for
(
for
))
15
16
// CHECK: {{^}}B: f(){{$}}
17
// CHECK: {{^}}C: for(){{$}}
18
19
// rdar://6880648
20
#define f(x,y...) y
21
f
()
22
23
// CHECK: #pragma omp parallel for
24
#define FOO parallel
25
#define Streaming _Pragma(
"omp FOO for"
)
26
Streaming
27