forked from OSchip/llvm-project
Undo r134587 as the bug was actually a deep and hideous one in the
client code. My bad. llvm-svn: 134631
This commit is contained in:
parent
ddd1265316
commit
efa6776719
|
@ -1562,13 +1562,6 @@ bool RecursiveASTVisitor<Derived>::TraverseFunctionHelper(FunctionDecl *D) {
|
||||||
// including exception specifications.
|
// including exception specifications.
|
||||||
TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
|
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)) {
|
if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) {
|
||||||
// Constructor initializers.
|
// Constructor initializers.
|
||||||
for (CXXConstructorDecl::init_iterator I = Ctor->init_begin(),
|
for (CXXConstructorDecl::init_iterator I = Ctor->init_begin(),
|
||||||
|
|
Loading…
Reference in New Issue