forked from OSchip/llvm-project
[NFC][Clang] Use previously declared variable instead of calling function redundantly
This commit is contained in:
parent
ee4c235386
commit
369c5fa17b
|
@ -3432,7 +3432,7 @@ Sema::ActOnCXXMemberDeclarator(Scope *S, AccessSpecifier AS, Declarator &D,
|
|||
<< SourceRange(D.getName().TemplateId->LAngleLoc,
|
||||
D.getName().TemplateId->RAngleLoc)
|
||||
<< D.getName().TemplateId->LAngleLoc;
|
||||
D.SetIdentifier(Name.getAsIdentifierInfo(), Loc);
|
||||
D.SetIdentifier(II, Loc);
|
||||
}
|
||||
|
||||
if (SS.isSet() && !SS.isInvalid()) {
|
||||
|
|
Loading…
Reference in New Issue