]> granicus.if.org Git - clang/commit
Refactored driver options that perform analyses/work over CFGs to use
authorTed Kremenek <kremenek@apple.com>
Fri, 7 Sep 2007 23:47:56 +0000 (23:47 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 7 Sep 2007 23:47:56 +0000 (23:47 +0000)
commit74bf2c9a4c749e9facba90b3a3ab3f369efa7682
treef237a6d0b5c7ab994dc689eb9e3a44188ea72c26
parent124dd7b5777e29ecac006822bd4d4623f0dc4264
Refactored driver options that perform analyses/work over CFGs to use
"CFGVisitor", which now handles all the boilerplate for iterating over
the function definitions in a translation unit and building the CFGs.
This logic was previously replicated for each driver option that used
CFGs.

The options -dump-cfg, -view-cfg, -check-dead-stores, and
-dump-live-variables now use this refactored code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41779 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/ASTStreamers.cpp