ScopDetection: clang-format some more code

llvm-svn: 174362
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index be7feeef..731bd93 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -70,9 +70,8 @@
 using namespace polly;
 
 static cl::opt<std::string>
-OnlyFunction("polly-detect-only",
-             cl::desc("Only detect scops in function"), cl::Hidden,
-             cl::value_desc("The function name to detect scops in"),
+OnlyFunction("polly-detect-only", cl::desc("Only detect scops in function"),
+             cl::Hidden, cl::value_desc("The function name to detect scops in"),
              cl::ValueRequired, cl::init(""));
 
 static cl::opt<bool>
@@ -81,8 +80,7 @@
                cl::Hidden, cl::init(false));
 
 static cl::opt<bool>
-ReportLevel("polly-report",
-            cl::desc("Print information about Polly"),
+ReportLevel("polly-report", cl::desc("Print information about Polly"),
             cl::Hidden, cl::init(false));
 
 static cl::opt<bool>
@@ -267,8 +265,8 @@
   // Check if the base pointer of the memory access does alias with
   // any other pointer. This cannot be handled at the moment.
   AliasSet &AS =
-    Context.AST.getAliasSetForPointer(BaseValue, AliasAnalysis::UnknownSize,
-                                      Inst.getMetadata(LLVMContext::MD_tbaa));
+      Context.AST.getAliasSetForPointer(BaseValue, AliasAnalysis::UnknownSize,
+                                        Inst.getMetadata(LLVMContext::MD_tbaa));
 
   // INVALID triggers an assertion in verifying mode, if it detects that a SCoP
   // was detected by SCoP detection and that this SCoP was invalidated by a pass
@@ -291,7 +289,8 @@
     std::sort(Pointers.begin(), Pointers.end());
 
     for (std::vector<Value*>::iterator PI = Pointers.begin(),
-         PE = Pointers.end();;) {
+                                        PE = Pointers.end();
+         ;) {
       Value *V = *PI;
 
       if (V->getName().size() == 0)
@@ -481,8 +480,9 @@
   for (Region::iterator I = R.begin(), E = R.end(); I != E; ++I)
     ToExpand.push_back(*I);
 
-  for (std::vector<Region*>::iterator RI = ToExpand.begin(),
-       RE = ToExpand.end(); RI != RE; ++RI) {
+  for (std::vector<Region *>::iterator RI = ToExpand.begin(),
+                                       RE = ToExpand.end();
+       RI != RE; ++RI) {
     Region *CurrentRegion = *RI;
 
     // Skip invalid regions. Regions may become invalid, if they are element of
@@ -599,7 +599,7 @@
 
     if (FileName.empty()) {
       outs() << "Scop detected at unknown location. Compile with debug info "
-        "(-g) to get more precise information. \n";
+                "(-g) to get more precise information. \n";
       return;
     }
 
@@ -639,7 +639,8 @@
 
 void polly::ScopDetection::verifyAnalysis() const {
   for (RegionSet::const_iterator I = ValidRegions.begin(),
-      E = ValidRegions.end(); I != E; ++I)
+                                 E = ValidRegions.end();
+       I != E; ++I)
     verifyRegion(**I);
 }
 
@@ -654,9 +655,10 @@
   AU.setPreservesAll();
 }
 
-void ScopDetection::print(raw_ostream &OS, const Module *) const {
+void ScopDetection::print(raw_ostream &OS, const Module *)const {
   for (RegionSet::const_iterator I = ValidRegions.begin(),
-      E = ValidRegions.end(); I != E; ++I)
+                                 E = ValidRegions.end();
+       I != E; ++I)
     OS << "Valid Region for Scop: " << (*I)->getNameStr() << '\n';
 
   OS << "\n";