commit | fddd51853f8ccaa1df2476376e6fd74d2f315c73 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Aug 21 21:42:03 2007 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Aug 21 21:42:03 2007 +0000 |
tree | eb4534b6607800c15ee97d919ed867c9ce7f17a1 | |
parent | ddbff78fb719a645b04bd27099fa6ec8c4693b3c [diff] |
Added CFG infrastructure (CFG.cpp and CFG.h) for clang ASTs. Added builder code to translate ASTs to CFGs. This currently supports if, return, and non-control flow statements. Added pretty-printer to debug CFGs. Added a "-dump-cfg" option to the clang driver to dump CFGs for code sent through the frontend. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41252 91177308-0d34-0410-b5e6-96231b3b80d8