how to get the CFG information in the StaticAnalyzer of Clang?

Dear All,
I am intrested in how to get cfg information in the StaticAnalyzer of Clang.Because I want to deal with the CFG to do some analysis.But how to translate from the ASTConsumer to the CFG StaticAnalyzer in the confuses me.
So, could you tell me that how it works from the ASTConsumer to CFG?
Thanks.
— By Redder

Hi,

What exactly are you trying to do? StaticAnalyzer already has access to CFG (Ex see: AnalysisDeclContext::getCFG()).

Anna.