[polly] r197560 - Fix formatting

Tobias Grosser tobias at grosser.es
Wed Dec 18 03:14:36 PST 2013


Author: grosser
Date: Wed Dec 18 05:14:36 2013
New Revision: 197560

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

The polly on-commit formatting checker notified me that I forgot to format
the code before submitting.

Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=197560&r1=197559&r2=197560&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Wed Dec 18 05:14:36 2013
@@ -167,9 +167,10 @@ private:
   unsigned EntryLine, ExitLine;
 
 public:
-  DiagnosticScopFound(Function &F, std::string FileName, unsigned EntryLine, unsigned ExitLine)
+  DiagnosticScopFound(Function &F, std::string FileName, unsigned EntryLine,
+                      unsigned ExitLine)
       : DiagnosticInfo(PluginDiagnosticKind, DS_Note), F(F), FileName(FileName),
-   EntryLine(EntryLine), ExitLine(ExitLine) {}
+        EntryLine(EntryLine), ExitLine(ExitLine) {}
 
   virtual void print(DiagnosticPrinter &DP) const;
 
@@ -180,15 +181,15 @@ public:
 
 int DiagnosticScopFound::PluginDiagnosticKind = 10;
 
-
 void DiagnosticScopFound::print(DiagnosticPrinter &DP) const {
 
-  DP << "Polly detected an optimizable loop region (scop) in function '" << F << "'\n";
+  DP << "Polly detected an optimizable loop region (scop) in function '" << F
+     << "'\n";
 
   if (FileName.empty()) {
     DP << "Scop location is unknown. Compile with debug info "
           "(-g) to get more precise information. ";
-      return;
+    return;
   }
 
   DP << FileName << ":" << EntryLine << ": Start of scop\n";





More information about the llvm-commits mailing list