forked from OSchip/llvm-project
Fix the rest of the indent goofiness here.
llvm-svn: 138024
This commit is contained in:
parent
f8b554f0f2
commit
e92e42f3fd
|
@ -4997,9 +4997,9 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D, DeclContext *DC,
|
|||
|
||||
// Unqualified local friend declarations are required to resolve
|
||||
// to something.
|
||||
} else if (isFriend && cast<CXXRecordDecl>(CurContext)->isLocalClass()) {
|
||||
DiagnoseInvalidRedeclaration(*this, NewFD, true);
|
||||
}
|
||||
} else if (isFriend && cast<CXXRecordDecl>(CurContext)->isLocalClass()) {
|
||||
DiagnoseInvalidRedeclaration(*this, NewFD, true);
|
||||
}
|
||||
|
||||
} else if (!IsFunctionDefinition && D.getCXXScopeSpec().isSet() &&
|
||||
!isFriend && !isFunctionTemplateSpecialization &&
|
||||
|
|
Loading…
Reference in New Issue