[cfe-dev] How can I mutate some information in the AST, given a Decl* ?

Manasij Mukherjee manasij7479 at gmail.com
Thu Jul 10 22:34:03 PDT 2014


Well, I already have a 'new' source.
So, the same could be achieved by making clang forget about the old
declaration.
Can I do that?

If clang already knows about:
template<typename T=int> class Foo;

and I have a new source that is about to get parsed:

template<typename T=int> class Foo {
  //implementation
}

Will it be possible to just 'erase' the old one?

Manasij Mukherjee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140711/d4898dc4/attachment.html>


More information about the cfe-dev mailing list