[cfe-dev] Mutable AST -- Advice Needed --

steveneliuk s.eliuk at samsung.com
Tue May 28 11:31:17 PDT 2013


Clang parses and constructs an AST quickly & effectively... likewise provides
wonderful tools for traversing the AST with ease. Utilizing these tools
provides a lot of the functionality required in the WebCL validator

Matchers provide a nice way to quickly navigate to nodes of interest, but
the modifications and consistency of the AST is not achievable through
matchers. 

Furthermore, if one wants to do some analysis on the modified source it
seems to be the only way to achieve this is to modify the AST.
 
The readable output is not required,

There are more details on the proposed implementation in the WebCL Public
bug on the Validator development effort.

Thank you for your input,




--
View this message in context: http://clang-developers.42468.n3.nabble.com/Mutable-AST-Advice-Needed-tp4032339p4032342.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list