diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-08-19 01:40:11 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-08-19 01:40:11 +0000 |
commit | e92e42f3fd2359aef3ed714f7793dd2994d96783 (patch) | |
tree | e19285d6a932b8c6ab23cc1352d9f8ee9c4dd9c3 /clang/lib | |
parent | f8b554f0f26ee1e5a873ceb110c518fa6578a3f8 (diff) | |
download | bcm5719-llvm-e92e42f3fd2359aef3ed714f7793dd2994d96783.tar.gz bcm5719-llvm-e92e42f3fd2359aef3ed714f7793dd2994d96783.zip |
Fix the rest of the indent goofiness here.
llvm-svn: 138024
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 544d1854164..b45b7ae5dc8 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<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 && |