[polly] r185440 - clang-format latest changes

Tobias Grosser grosser at fim.uni-passau.de
Tue Jul 2 09:13:07 PDT 2013


Author: grosser
Date: Tue Jul  2 11:13:07 2013
New Revision: 185440

URL: http://llvm.org/viewvc/llvm-project?rev=185440&view=rev
Log:
clang-format latest changes

Modified:
    polly/trunk/include/polly/CodeGen/PTXGenerator.h
    polly/trunk/lib/Analysis/TempScopInfo.cpp
    polly/trunk/lib/Pocc.cpp

Modified: polly/trunk/include/polly/CodeGen/PTXGenerator.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodeGen/PTXGenerator.h?rev=185440&r1=185439&r2=185440&view=diff
==============================================================================
--- polly/trunk/include/polly/CodeGen/PTXGenerator.h (original)
+++ polly/trunk/include/polly/CodeGen/PTXGenerator.h Tue Jul  2 11:13:07 2013
@@ -186,6 +186,6 @@ private:
   /// @param SubFunction  A pointer to the device code function.
   void eraseUnusedFunctions(Function *SubFunction);
 };
-}      // end namespace polly
+} // end namespace polly
 #endif /* GPU_CODEGEN */
 #endif /* POLLY_CODEGEN_PTXGENERATOR_H */

Modified: polly/trunk/lib/Analysis/TempScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/TempScopInfo.cpp?rev=185440&r1=185439&r2=185440&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/TempScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/TempScopInfo.cpp Tue Jul  2 11:13:07 2013
@@ -79,26 +79,27 @@ void TempScop::print(raw_ostream &OS, Sc
   printDetail(OS, SE, LI, &R, 0);
 }
 
-void TempScop::printDetail(raw_ostream &OS, ScalarEvolution *SE,
-                           LoopInfo *LI, const Region *CurR,
-                           unsigned ind) const {
+void TempScop::printDetail(raw_ostream &OS, ScalarEvolution *SE, LoopInfo *LI,
+                           const Region *CurR, unsigned ind) const {
 
   // FIXME: Print other details rather than memory accesses.
   typedef Region::const_block_iterator bb_iterator;
-  for (bb_iterator I = CurR->block_begin(), E = CurR->block_end(); I != E; ++I){
+  for (bb_iterator I = CurR->block_begin(), E = CurR->block_end(); I != E;
+       ++I) {
     BasicBlock *CurBlock = *I;
 
     AccFuncMapType::const_iterator AccSetIt = AccFuncMap.find(CurBlock);
 
     // Ignore trivial blocks that do not contain any memory access.
-    if (AccSetIt == AccFuncMap.end()) continue;
+    if (AccSetIt == AccFuncMap.end())
+      continue;
 
     OS.indent(ind) << "BB: " << CurBlock->getName() << '\n';
     typedef AccFuncSetType::const_iterator access_iterator;
     const AccFuncSetType &AccFuncs = AccSetIt->second;
 
-    for (access_iterator AI = AccFuncs.begin(), AE = AccFuncs.end();
-         AI != AE; ++AI)
+    for (access_iterator AI = AccFuncs.begin(), AE = AccFuncs.end(); AI != AE;
+         ++AI)
       AI->first.print(OS.indent(ind + 2));
   }
 }

Modified: polly/trunk/lib/Pocc.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Pocc.cpp?rev=185440&r1=185439&r2=185440&view=diff
==============================================================================
--- polly/trunk/lib/Pocc.cpp (original)
+++ polly/trunk/lib/Pocc.cpp Tue Jul  2 11:13:07 2013
@@ -76,7 +76,7 @@ bool Pocc::runTransform(Scop &S) {
   // Create the scop file.
   SmallString<128> TempDir;
   SmallString<128> ScopFile;
-  llvm::sys::path::system_temp_directory(/*erasedOnReboot=*/ true, TempDir);
+  llvm::sys::path::system_temp_directory(/*erasedOnReboot=*/true, TempDir);
   ScopFile = TempDir;
   llvm::sys::path::append(ScopFile, "polly.scop");
 





More information about the llvm-commits mailing list