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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
Index
/
annotate-macro-args.h
blob
40ec8dc0b81fb706fc0dc935901fa3bcfad5938b
1
@interface MyClass
2
+(
void
)
meth
;
3
@end
4
5
#define MACRO2(x) x
6
#define MACRO(x) MACRO2(x)
7
8
void
test
() {
9
MACRO
([
MyClass meth
]);
10
}
11
12
#define INVOKE(METHOD, CLASS) [CLASS METHOD]
13
14
void
test2
() {
15
INVOKE
(
meth
,
MyClass
);
16
}