]> granicus.if.org Git - clang/commit
Fix RecursiveASTVisitor's data recursion to call the Traverse* functions if they
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 1 May 2012 21:58:31 +0000 (21:58 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 1 May 2012 21:58:31 +0000 (21:58 +0000)
commite3ba2987b9d55fdc976362ddccdb8c5a73d19fc9
treec0e6e70654c5b98e0c0c83fc396a2312a4445f29
parent140d0c64417e2fb5fc4dd40ce0d46b037ac11b02
Fix RecursiveASTVisitor's data recursion to call the Traverse* functions if they
have been overridden in the derived class. Also, remove a non-functional
implementation of an incorrect optimization for ParenExprs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155951 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/RecursiveASTVisitor.h
unittests/Tooling/RecursiveASTVisitorTest.cpp