aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-08-19 01:40:11 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-08-19 01:40:11 +0000
commit3d095febaa397fd4a5588210d5ecec1046085420 (patch)
treea0304011d0c8be81f9eb936df99f010d247b8db1 /lib/Sema/SemaDecl.cpp
parent47eb2b6bafefb20f53d8186a90dceaaedcb6a18b (diff)
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
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r--lib/Sema/SemaDecl.cpp6
1 files changed, 3 insertions, 3 deletions
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<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 &&