[cfe-dev] HandleTranslationUnit and Function Templates
Nilesh Mahajan via cfe-dev
cfe-dev at lists.llvm.org
Thu Oct 8 10:47:49 PDT 2015
Hi,
I am writing a tool that overrides HandleTranslationUnit in my
ASTConsumer. My aim is to examine function calls and find locations of
corresponding function declarations. It seems that this does not work
for function templates. I am guessing this has to do with two-phase
lookup? Is there a way around this or I have to override
HandleTopLevelDecl (which works)?
Thanks,
Nilesh.
More information about the cfe-dev
mailing list