OSDN Git Service

Correct formatting.
authorTobias Grosser <tobias@grosser.es>
Thu, 8 May 2014 21:43:19 +0000 (21:43 +0000)
committerTobias Grosser <tobias@grosser.es>
Thu, 8 May 2014 21:43:19 +0000 (21:43 +0000)
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.

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

lib/Analysis/ScalarEvolution.cpp

index 2c28c50..d25a8af 100644 (file)
@@ -7224,10 +7224,10 @@ static void findArrayDimensionsRec(ScalarEvolution &SE,
   }
 
   // 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);