[cfe-dev] help: from Stmt object to Decl

Aleksei Sidorin a.sidorin at samsung.com
Wed Jan 28 00:16:10 PST 2015


Hello,

As I understand, you want to get a Decl for a function where you 
statement is located. You may try AnalysisDeclContext::getDecl() method 
to do this.
Maybe I could tell more if you tell what kind of checker do you write 
(path-sensitive or not) and what callbacks do you use.

-- 
Best regards,
Aleksei Sidorin
Software Engineer,
IMSWL-IMCG, SRR, Samsung Electronics




More information about the cfe-dev mailing list