[cfe-commits] r138024 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Chandler Carruth chandlerc at gmail.com
Thu Aug 18 18:40:11 PDT 2011


Author: chandlerc
Date: Thu Aug 18 20:40:11 2011
New Revision: 138024

URL: http://llvm.org/viewvc/llvm-project?rev=138024&view=rev
Log:
Fix the rest of the indent goofiness here.

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=138024&r1=138023&r2=138024&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Thu Aug 18 20:40:11 2011
@@ -4997,9 +4997,9 @@
 
         // 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 &&





More information about the cfe-commits mailing list