<div dir="ltr">Hi,<div><br></div><div>I'm reading the clang source codes, and a little bit confused about why we cannot get the location for end of a token that nested in macros.</div><div><br></div><div>e.g.</div><div>```cpp</div><div>#define TEST_MACRO(x) ((void) x)</div><div><br></div><div>... some codes</div><div>TEST_MACRO(a && bbbbbb);<br></div><div>... some codes</div><div>```</div><div><br></div><div>I want a location that points to the end of `bbbbbb[exactly here]`.</div><div><br></div><div>Is there any efficient way to achieve this? Thanks!</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Best Regards,<div>Xing</div><div><div><br></div></div></div></div></div></div></div></div></div></div></div></div>