diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-06-01 22:37:07 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-06-01 22:37:07 +0000 |
commit | 95ea45072a46ba3c85fc588aed15509a1a0900ed (patch) | |
tree | 793de5eaf51802823c9bc4813a39796a89061ca3 /lib | |
parent | aa37f7a87527b1f5ccd54a91e0379a1b7b6d1d05 (diff) |
Fix an incorrect warning about explicit template specializations for
nested types, from Michael Han!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Sema/SemaTemplate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp index ea084b49ee..1aa7364d18 100644 --- a/lib/Sema/SemaTemplate.cpp +++ b/lib/Sema/SemaTemplate.cpp @@ -1650,7 +1650,7 @@ Sema::MatchTemplateParametersToScopeSpecifier(SourceLocation DeclStartLoc, if (Spec->getSpecializationKind() != TSK_ExplicitSpecialization) NeedEmptyTemplateHeader = true; else - break; + continue; } else if (Record->getTemplateSpecializationKind()) { if (Record->getTemplateSpecializationKind() != TSK_ExplicitSpecialization && |