[cfe-commits] r126850 - /cfe/trunk/include/clang/AST/RecursiveASTVisitor.h
Douglas Gregor
dgregor at apple.com
Wed Mar 2 10:10:05 PST 2011
Author: dgregor
Date: Wed Mar 2 12:10:05 2011
New Revision: 126850
URL: http://llvm.org/viewvc/llvm-project?rev=126850&view=rev
Log:
Fix a thinko found by Craig Silverstein
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=126850&r1=126849&r2=126850&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/RecursiveASTVisitor.h (original)
+++ cfe/trunk/include/clang/AST/RecursiveASTVisitor.h Wed Mar 2 12:10:05 2011
@@ -601,7 +601,7 @@
if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
return getDerived().TraverseTypeLoc(TSI->getTypeLoc());
else
- getDerived().TraverseType(Arg.getAsType());
+ return getDerived().TraverseType(Arg.getAsType());
}
case TemplateArgument::Template:
More information about the cfe-commits
mailing list