[cfe-commits] r164339 - in /cfe/trunk: include/clang/Analysis/ include/clang/StaticAnalyzer/Core/ include/clang/StaticAnalyzer/Core/BugReporter/ include/clang/StaticAnalyzer/Core/PathSensitive/ lib/Analysis/ lib/StaticAnalyzer/Core/ test/Analysis/
kremenek at apple.com
Thu Sep 20 23:14:04 PDT 2012
On Sep 20, 2012, at 11:00 PM, Ted Kremenek <kremenek at apple.com> wrote:
>> It is probably not a good idea to make a function body that isn't a CompoundStmt or CXXTryStmt.
> Why? I know how the CFGBuilder works. This isn't an issue. The CFGBuilder just flattens out the CompoundStmt. That concept doesn't even exist in the CFG.
BTW, the CFGBuilder was designed to work to be able to construct a CFG for any arbitrary Stmt. There is no requirement that it be a complete function body.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits