diff options
Diffstat (limited to 'include/clang/AST/RecursiveASTVisitor.h')
-rw-r--r-- | include/clang/AST/RecursiveASTVisitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/RecursiveASTVisitor.h b/include/clang/AST/RecursiveASTVisitor.h index 8a6e85f226..a9a98d77ba 100644 --- a/include/clang/AST/RecursiveASTVisitor.h +++ b/include/clang/AST/RecursiveASTVisitor.h @@ -1400,6 +1400,7 @@ bool RecursiveASTVisitor<Derived>::TraverseClassInstantiations( case TSK_Undeclared: case TSK_ImplicitInstantiation: TRY_TO(TraverseDecl(SD)); + break; // We don't need to do anything on an explicit instantiation // or explicit specialization because there will be an explicit |