<div dir="auto">Hi<div dir="auto">I am new to this community and start to play with clang... I have a little when tracing arguments of function-like macro... Is there any way to get the position of expanded arguments? For example</div><div dir="auto"><br></div><div dir="auto">"""</div><div dir="auto">#define test(a, b) ((void)(a + b))</div><div dir="auto"><br></div><div dir="auto">int x, y;</div><div dir="auto"><br></div><div dir="auto">test(x, y);</div><div dir="auto"><br></div><div dir="auto">"""</div><div dir="auto"><br></div><div dir="auto">I know there is a function isMacroArgExpansion() to test if the expr is expanded from macro arguments. I want to know if there is something like getIndexOfMacroArgExpansion() to get the argument position of expr.</div><div dir="auto">For example, x is expanded from 0th argument and y is expected from 1st argument</div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto">Xing</div><div dir="auto"><br></div><div dir="auto"><br></div></div>