Quantcast

Source to ASTMatcher

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Source to ASTMatcher

Daniel Marjamäki via cfe-dev
Hi,

I am interested in converting source lines (file:line:col) to
libASTMatcher style declarative queries. Are there any recommendations
for how to go about this task?

My initial thoughts were to use -ast-dump-filter on the source code to
select AST segments of interest, and subsequently manually craft a
ASTMatcher query based on it, but the former works on Qualified Decl
names only. Thoughts welcome :-)

Regards,
Bhargava


--
Bhargava Shastry <[hidden email]>
Security in Telecommunications
TU Berlin / Telekom Innovation Laboratories
Ernst-Reuter-Platz 7, Sekr TEL 17 / D - 10587 Berlin, Germany
phone: +49 30 8353 58235


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

signature.asc (484 bytes) Download Attachment
Loading...