]> granicus.if.org Git - clang/commit
[analyzer] Use recursive AST visitor to drive simple visitation order in
authorAnna Zaks <ganna@apple.com>
Tue, 13 Mar 2012 19:32:00 +0000 (19:32 +0000)
committerAnna Zaks <ganna@apple.com>
Tue, 13 Mar 2012 19:32:00 +0000 (19:32 +0000)
commitaa5609891df937291bf962dd2fc7deb2ceae292f
tree7dd9b1a0fedba72d9586bcc9bca05c38bafa2834
parent98520835eb1aa091429afa06e9f4f7ebe3864d34
[analyzer] Use recursive AST visitor to drive simple visitation order in
AnalysisConsumer.

As a result:
 - We now analyze the C++ methods which are defined within the
class body. These were completely skipped before.

- Ensure that AST checkers are called on functions in the
order they are defined in the Translation unit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152650 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
test/Analysis/auto-obj-dtors-cfg-output.cpp