]> granicus.if.org Git - clang/commitdiff
Fix a thinko found by Craig Silverstein
authorDouglas Gregor <dgregor@apple.com>
Wed, 2 Mar 2011 18:10:05 +0000 (18:10 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 2 Mar 2011 18:10:05 +0000 (18:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126850 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/RecursiveASTVisitor.h

index daa61c93d67cfeb0789b3541b183527057d0f8bb..e5f5a9c056a94ad893d9cc163425a8c9aba9e9d5 100644 (file)
@@ -601,7 +601,7 @@ bool RecursiveASTVisitor<Derived>::TraverseTemplateArgumentLoc(
     if (TypeSourceInfo *TSI = ArgLoc.getTypeSourceInfo())
       return getDerived().TraverseTypeLoc(TSI->getTypeLoc());
     else 
-      getDerived().TraverseType(Arg.getAsType());
+      return getDerived().TraverseType(Arg.getAsType());
   }
 
   case TemplateArgument::Template: