From: Douglas Gregor Date: Wed, 2 Mar 2011 18:10:05 +0000 (+0000) Subject: Fix a thinko found by Craig Silverstein X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1fe3759e6e8b1756c514f1181c86bd4b9d1666c;p=clang Fix a thinko found by Craig Silverstein git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126850 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/RecursiveASTVisitor.h b/include/clang/AST/RecursiveASTVisitor.h index daa61c93d6..e5f5a9c056 100644 --- a/include/clang/AST/RecursiveASTVisitor.h +++ b/include/clang/AST/RecursiveASTVisitor.h @@ -601,7 +601,7 @@ bool RecursiveASTVisitor::TraverseTemplateArgumentLoc( if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo()) return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); else - getDerived().TraverseType(Arg.getAsType()); + return getDerived().TraverseType(Arg.getAsType()); } case TemplateArgument::Template: