Skip to content

Commit 8f54ad1

Browse files
author
git apple-llvm automerger
committed
Merge commit '82f5bd68d03c' from llvm.org/main into next
2 parents 3cd2b6e + 82f5bd6 commit 8f54ad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaTemplate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ bool Sema::DiagnoseUnknownTemplateName(const IdentifierInfo &II,
367367

368368
// The code is missing a 'template' keyword prior to the dependent template
369369
// name.
370-
NestedNameSpecifier *Qualifier = (NestedNameSpecifier *)SS->getScopeRep();
370+
NestedNameSpecifier *Qualifier = SS->getScopeRep();
371371
SuggestedTemplate = TemplateTy::make(Context.getDependentTemplateName(
372372
{Qualifier, &II, /*HasTemplateKeyword=*/false}));
373373
Diag(IILoc, diag::err_template_kw_missing)

0 commit comments

Comments
 (0)