[cfe-commits] r134631 - /cfe/trunk/include/clang/AST/RecursiveASTVisitor.h

Sean Hunt scshunt at csclub.uwaterloo.ca
Thu Jul 7 13:14:21 PDT 2011


Author: coppro
Date: Thu Jul  7 15:14:21 2011
New Revision: 134631

URL: http://llvm.org/viewvc/llvm-project?rev=134631&view=rev
Log:
Undo r134587 as the bug was actually a deep and hideous one in the
client code.

My bad.

Modified:
    cfe/trunk/include/clang/AST/RecursiveASTVisitor.h

Modified: cfe/trunk/include/clang/AST/RecursiveASTVisitor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/RecursiveASTVisitor.h?rev=134631&r1=134630&r2=134631&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/RecursiveASTVisitor.h (original)
+++ cfe/trunk/include/clang/AST/RecursiveASTVisitor.h Thu Jul  7 15:14:21 2011
@@ -1562,13 +1562,6 @@
   // 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(),





More information about the cfe-commits mailing list