From e92e42f3fd2359aef3ed714f7793dd2994d96783 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Fri, 19 Aug 2011 01:40:11 +0000 Subject: [PATCH] Fix the rest of the indent goofiness here. llvm-svn: 138024 --- clang/lib/Sema/SemaDecl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 544d1854164d..b45b7ae5dc8e 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/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 && -- GitLab