Integrate latest clang-format changes
llvm-svn: 184655
diff --git a/polly/lib/CodeGen/BlockGenerators.cpp b/polly/lib/CodeGen/BlockGenerators.cpp
index b0bc9dc..c5cd612 100644
--- a/polly/lib/CodeGen/BlockGenerators.cpp
+++ b/polly/lib/CodeGen/BlockGenerators.cpp
@@ -199,7 +199,7 @@
}
if (const Instruction *Inst = dyn_cast<Instruction>(Old)) {
- (void) Inst;
+ (void)Inst;
assert(!Statement.getParent()->getRegion().contains(Inst->getParent()) &&
"unexpected scalar dependence in region");
}
diff --git a/polly/lib/CodeGen/Cloog.cpp b/polly/lib/CodeGen/Cloog.cpp
index e44393d..5d30c9c 100644
--- a/polly/lib/CodeGen/Cloog.cpp
+++ b/polly/lib/CodeGen/Cloog.cpp
@@ -94,7 +94,7 @@
}
~FileToString() {
close(FD[0]);
- //close(FD[1]);
+ // close(FD[1]);
}
FILE *getInputFile() { return input; }
@@ -119,7 +119,6 @@
return output;
}
-
};
/// Write .cloog input file.
@@ -251,7 +250,6 @@
virtual bool runOnScop(Scop &S);
void getAnalysisUsage(AnalysisUsage &AU) const;
};
-
}
std::string CloogExporter::getFileName(Region *R) const {
std::string FunctionName = R->getEntry()->getParent()->getName();
@@ -330,7 +328,7 @@
C = new Cloog(&S);
Function *F = S.getRegion().getEntry()->getParent();
- (void) F;
+ (void)F;
DEBUG(dbgs() << ":: " << F->getName());
DEBUG(dbgs() << " : " << S.getRegion().getNameStr() << "\n");
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp
index 753942f..950a06a7 100644
--- a/polly/lib/CodeGen/CodeGeneration.cpp
+++ b/polly/lib/CodeGen/CodeGeneration.cpp
@@ -169,7 +169,8 @@
Value *ClastExpCodeGen::codegen(const clast_reduction *r, Type *Ty) {
assert((r->type == clast_red_min || r->type == clast_red_max ||
- r->type == clast_red_sum) && "Clast reduction type not supported");
+ r->type == clast_red_sum) &&
+ "Clast reduction type not supported");
Value *old = codegen(r->elts[0], Ty);
for (int i = 1; i < r->n; ++i) {
diff --git a/polly/lib/CodeGen/IslAst.cpp b/polly/lib/CodeGen/IslAst.cpp
index f9dc55b..1799168 100644
--- a/polly/lib/CodeGen/IslAst.cpp
+++ b/polly/lib/CodeGen/IslAst.cpp
@@ -328,7 +328,7 @@
isl_union_map *Schedule = getSchedule();
Function *F = Scop->getRegion().getEntry()->getParent();
- (void) F;
+ (void)F;
DEBUG(dbgs() << ":: isl ast :: " << F->getName()
<< " :: " << Scop->getRegion().getNameStr() << "\n");
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp
index 327d2cf..ed64fd6 100644
--- a/polly/lib/CodeGen/IslCodeGeneration.cpp
+++ b/polly/lib/CodeGen/IslCodeGeneration.cpp
@@ -125,7 +125,7 @@
void RuntimeDebugBuilder::createIntPrinter(Value *V) {
IntegerType *Ty = dyn_cast<IntegerType>(V->getType());
- (void) Ty;
+ (void)Ty;
assert(Ty && Ty->getBitWidth() == 64 &&
"Cannot insert printer for this type.");