From 1bb59b0dcfccdaada07e2d180d5929a2dd0b1493 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sat, 29 Dec 2012 23:47:38 +0000 Subject: Fix obvious formatting problems. We fix the following formatting problems found by clang-format: - 80 cols violations - Obvious problems with missing or too many spaces - multiple new lines in a row clang-format suggests many more changes, most of them falling in the following two categories: 1) clang-format does not at all format a piece of code nicely 2) The style that clang-format suggests does not match the style used in Polly/LLVM I consider differences caused by reason 1) bugs, which should be fixed by improving clang-format. Differences due to 2) need to be investigated closer to understand the cause of the difference and the solution that should be taken. llvm-svn: 171241 --- polly/lib/CodeGen/LoopGenerators.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'polly/lib/CodeGen/LoopGenerators.cpp') diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp index 4edd01d81ac..dbcaf563b60 100644 --- a/polly/lib/CodeGen/LoopGenerators.cpp +++ b/polly/lib/CodeGen/LoopGenerators.cpp @@ -24,8 +24,7 @@ using namespace llvm; using namespace polly; Value *polly::createLoop(Value *LB, Value *UB, Value *Stride, - IRBuilder<> &Builder, Pass *P, - BasicBlock *&AfterBlock, + IRBuilder<> &Builder, Pass *P, BasicBlock *&AfterBlock, ICmpInst::Predicate Predicate) { DominatorTree &DT = P->getAnalysis(); Function *F = Builder.GetInsertBlock()->getParent(); -- cgit v1.2.3