From: Chandler Carruth Date: Fri, 19 Aug 2011 01:40:11 +0000 (+0000) Subject: Fix the rest of the indent goofiness here. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d095febaa397fd4a5588210d5ecec1046085420;p=clang Fix the rest of the indent goofiness here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138024 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 544d185416..b45b7ae5dc 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -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(CurContext)->isLocalClass()) { - DiagnoseInvalidRedeclaration(*this, NewFD, true); - } + } else if (isFriend && cast(CurContext)->isLocalClass()) { + DiagnoseInvalidRedeclaration(*this, NewFD, true); + } } else if (!IsFunctionDefinition && D.getCXXScopeSpec().isSet() && !isFriend && !isFunctionTemplateSpecialization &&