[polly] r289533 - Adjust clang-format formatting to r289531

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 04:44:00 PST 2016


Author: grosser
Date: Tue Dec 13 06:44:00 2016
New Revision: 289533

URL: http://llvm.org/viewvc/llvm-project?rev=289533&view=rev
Log:
Adjust clang-format formatting to r289531

clang-format has been updated in r289531 to keep labels and values on
the same line. This change updates Polly to the new formatting style.

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

Modified: polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp?rev=289533&r1=289532&r2=289533&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetectionDiagnostic.cpp Tue Dec 13 06:44:00 2016
@@ -249,8 +249,8 @@ bool ReportUndefOperand::classof(const R
 // ReportNonAffBranch.
 
 std::string ReportNonAffBranch::getMessage() const {
-  return ("Non affine branch in BB '" + BB->getName()).str() + "' with LHS: " +
-         *LHS + " and RHS: " + *RHS;
+  return ("Non affine branch in BB '" + BB->getName()).str() +
+         "' with LHS: " + *LHS + " and RHS: " + *RHS;
 }
 
 bool ReportNonAffBranch::classof(const RejectReason *RR) {
@@ -335,8 +335,8 @@ ReportLoopBound::ReportLoopBound(Loop *L
       Loc(L->getStartLoc()) {}
 
 std::string ReportLoopBound::getMessage() const {
-  return "Non affine loop bound '" + *LoopCount + "' in loop: " +
-         L->getHeader()->getName();
+  return "Non affine loop bound '" + *LoopCount +
+         "' in loop: " + L->getHeader()->getName();
 }
 
 const DebugLoc &ReportLoopBound::getDebugLoc() const { return Loc; }




More information about the llvm-commits mailing list