[cfe-dev]  How can I mutate some information in the AST,	given a Decl* ?
    Manasij Mukherjee 
    manasij7479 at gmail.com
       
    Thu Jul 10 18:46:16 PDT 2014
    
    
  
Hi,
I have a Decl* which can be cast into the appropriate Decl types.
I want to remove some specific information about that Decl from the AST.
For example, if it isa ClassTemplateDecl, I need to remove its default
template arguments if it has them.
Or if I have an EnumDecl that has a specific type specified, like:
(enum a :int {a,b,c};)
That information needs to be erased.
How can I perform these kinds of changes to a Decl?
Manasij Mukherjee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140711/38200462/attachment.html>
    
    
More information about the cfe-dev
mailing list