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
/
get-cursor-macro-args.h
blob
70d0dc7bf83293417f79aca0a6998bcbf36bf410
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
}