Now I'm facing a second problem. I am able to generate the template
function bodies using print, but I can't seem to be able to locate the
CallExpr inside the printed bodies (the spelling locations point to the non
specialized template). I need this because I might have a template function
calling
Thanks, this solved my problem!
On Sun, Aug 4, 2019 at 11:07 PM Richard Smith wrote:
> On Fri, 2 Aug 2019 at 15:05, Romulo via cfe-users <
> cfe-users@lists.llvm.org> wrote:
>
>> Hello there, thanks for your time reading this :)
>>
>> I am trying to extract the code for a specialized template fu
On Fri, 2 Aug 2019 at 15:05, Romulo via cfe-users
wrote:
> Hello there, thanks for your time reading this :)
>
> I am trying to extract the code for a specialized template function, but I
> have no idea on how to proceed. I know I can use SourceManager to get the
> original 'pure template' code b
Hello there, thanks for your time reading this :)
I am trying to extract the code for a specialized template function, but I
have no idea on how to proceed. I know I can use SourceManager to get the
original 'pure template' code but I don't know how to access the
specialized functions (the SourceL