]> granicus.if.org Git - clang/commitdiff
Undo r134587 as the bug was actually a deep and hideous one in the
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Thu, 7 Jul 2011 20:14:21 +0000 (20:14 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Thu, 7 Jul 2011 20:14:21 +0000 (20:14 +0000)
client code.

My bad.

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

include/clang/AST/RecursiveASTVisitor.h

index 1982b3513840221c32c8fafbf736e4ee7d37ddd4..7cdb0adc65d3b37f991b18d82ed136f22148c6a8 100644 (file)
@@ -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(),