Mercurial > hg > CbC > CbC_llvm
view clang/test/Index/annotate-macro-args.h @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
line wrap: on
line source
@interface MyClass +(void)meth; @end #define MACRO2(x) x #define MACRO(x) MACRO2(x) void test() { MACRO([MyClass meth]); } #define INVOKE(METHOD, CLASS) [CLASS METHOD] void test2() { INVOKE(meth, MyClass); }