diff options
author | Sean Hunt <scshunt@csclub.uwaterloo.ca> | 2011-07-07 20:14:21 +0000 |
---|---|---|
committer | Sean Hunt <scshunt@csclub.uwaterloo.ca> | 2011-07-07 20:14:21 +0000 |
commit | c5f90c2250f20037e604e849044442d70573507e (patch) | |
tree | c09fd1617de32b93d9ecc0f248f54ff8902db356 | |
parent | 04e5a2509d1eed48cc0c7115c52089bef35b36af (diff) |
Undo r134587 as the bug was actually a deep and hideous one in the
client code.
My bad.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134631 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/RecursiveASTVisitor.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/clang/AST/RecursiveASTVisitor.h b/include/clang/AST/RecursiveASTVisitor.h index 1982b35138..7cdb0adc65 100644 --- a/include/clang/AST/RecursiveASTVisitor.h +++ b/include/clang/AST/RecursiveASTVisitor.h @@ -1562,13 +1562,6 @@ bool RecursiveASTVisitor<Derived>::TraverseFunctionHelper(FunctionDecl *D) { // including exception specifications. TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); - // Parameter declarations - for (FunctionDecl::param_iterator I = D->param_begin(), - E = D->param_end(); - I != E; ++I) { - TRY_TO(TraverseDecl(*I)); - } - if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) { // Constructor initializers. for (CXXConstructorDecl::init_iterator I = Ctor->init_begin(), |