[llvm] r208358 - Correct formatting.

Tobias Grosser tobias at grosser.es
Thu May 8 14:43:19 PDT 2014


Author: grosser
Date: Thu May  8 16:43:19 2014
New Revision: 208358

URL: http://llvm.org/viewvc/llvm-project?rev=208358&view=rev
Log:
Correct formatting.

Sorry for the commit spam. My clang-format crashed on me and the vim
plugin did not print an error, but instead just left the formatting
untouched.

Modified:
    llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=208358&r1=208357&r2=208358&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Thu May  8 16:43:19 2014
@@ -7224,10 +7224,10 @@ static void findArrayDimensionsRec(Scala
   }
 
   // Remove all SCEVConstants.
-  Terms.erase(
-        std::remove_if(Terms.begin(), Terms.end(),
-                       [](const SCEV *E) { return isa<SCEVConstant>(E);}),
-            Terms.end());
+  Terms.erase(std::remove_if(Terms.begin(), Terms.end(), [](const SCEV *E) {
+                return isa<SCEVConstant>(E);
+              }),
+              Terms.end());
 
   if (Terms.size() > 0)
     findArrayDimensionsRec(SE, Terms, Sizes, Zero, One);





More information about the llvm-commits mailing list