forked from OSchip/llvm-project
[NFC] Remove a cast rendered unnecessary by r321409
See https://reviews.llvm.org/rC321409 for additional context. llvm-svn: 321410
This commit is contained in:
parent
be29403633
commit
d9548c350f
|
@ -375,7 +375,7 @@ Parser::ParseTemplateParameterList(unsigned Depth,
|
|||
|
||||
if (NamedDecl *TmpParam
|
||||
= ParseTemplateParameter(Depth, TemplateParams.size())) {
|
||||
TemplateParams.push_back(dyn_cast<NamedDecl>(TmpParam));
|
||||
TemplateParams.push_back(TmpParam);
|
||||
} else {
|
||||
// If we failed to parse a template parameter, skip until we find
|
||||
// a comma or closing brace.
|
||||
|
|
Loading…
Reference in New Issue