]> granicus.if.org Git - clang/commitdiff
Fix very confusing indent in Sema.cpp.
authorDaniel Jasper <djasper@google.com>
Tue, 30 Apr 2013 06:43:16 +0000 (06:43 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 30 Apr 2013 06:43:16 +0000 (06:43 +0000)
This came up during my Euro LLVM 2013 talk on clang-format and I was
asked to submit it :-).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180772 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/Sema.cpp

index 38c58549cd754e1a2c15a49699eb3333830c187a..e9a85821830b457fb2e0152828a84ff984f7249c 100644 (file)
@@ -590,12 +590,11 @@ void Sema::ActOnEndOfTranslationUnit() {
   }
 
   // Remove file scoped decls that turned out to be used.
-  UnusedFileScopedDecls.erase(std::remove_if(UnusedFileScopedDecls.begin(0,
-                                                                         true),
-                                             UnusedFileScopedDecls.end(),
-                              std::bind1st(std::ptr_fun(ShouldRemoveFromUnused),
-                                           this)),
-                              UnusedFileScopedDecls.end());
+  UnusedFileScopedDecls.erase(
+      std::remove_if(UnusedFileScopedDecls.begin(0, true),
+                     UnusedFileScopedDecls.end(),
+                     std::bind1st(std::ptr_fun(ShouldRemoveFromUnused), this)),
+      UnusedFileScopedDecls.end());
 
   if (TUKind == TU_Prefix) {
     // Translation unit prefixes don't need any of the checking below.