diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-12-29 23:47:38 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-12-29 23:47:38 +0000 |
commit | 1bb59b0dcfccdaada07e2d180d5929a2dd0b1493 (patch) | |
tree | 2c619d2ce5d50cc8752b7e424dc24e4bcdd13512 /polly/lib/CodeGen/LoopGenerators.cpp | |
parent | 9463dce9bf90d63480c894452cc82db1de182823 (diff) | |
download | bcm5719-llvm-1bb59b0dcfccdaada07e2d180d5929a2dd0b1493.tar.gz bcm5719-llvm-1bb59b0dcfccdaada07e2d180d5929a2dd0b1493.zip |
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
Diffstat (limited to 'polly/lib/CodeGen/LoopGenerators.cpp')
-rw-r--r-- | polly/lib/CodeGen/LoopGenerators.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<DominatorTree>(); Function *F = Builder.GetInsertBlock()->getParent(); |