summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-03-02 17:05:21 +0000
committerTobias Grosser <tobias@grosser.es>2014-03-02 17:05:21 +0000
commit45bac0d953c8cfa466af4dc11c6626382f25de0e (patch)
tree2933aeb56d7862dbf9aeda82fd2b5a67bcc1a380 /polly/lib/CodeGen
parent23077e3e0a3087d337eb785f8356b39d02930a43 (diff)
downloadbcm5719-llvm-45bac0d953c8cfa466af4dc11c6626382f25de0e.tar.gz
bcm5719-llvm-45bac0d953c8cfa466af4dc11c6626382f25de0e.zip
Use C++11 formatting
clang-formats behaviour has changed for a couple of C++11 formattings. We adapt Polly to ensure our formatting checks are clean again. llvm-svn: 202650
Diffstat (limited to 'polly/lib/CodeGen')
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp
index 8322ab09220..c1aa9f36fd6 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -134,17 +134,17 @@ void OMPGenerator::createCallParallelLoopStart(
Type *LongTy = getIntPtrTy();
GlobalValue::LinkageTypes Linkage = Function::ExternalLinkage;
- Type *Params[] = { PointerType::getUnqual(FunctionType::get(
- Builder.getVoidTy(), Builder.getInt8PtrTy(), false)),
- Builder.getInt8PtrTy(), Builder.getInt32Ty(), LongTy,
- LongTy, LongTy, };
+ Type *Params[] = {PointerType::getUnqual(FunctionType::get(
+ Builder.getVoidTy(), Builder.getInt8PtrTy(), false)),
+ Builder.getInt8PtrTy(), Builder.getInt32Ty(), LongTy,
+ LongTy, LongTy};
FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false);
F = Function::Create(Ty, Linkage, Name, M);
}
- Value *Args[] = { SubFunction, SubfunctionParam, NumberOfThreads,
- LowerBound, UpperBound, Stride };
+ Value *Args[] = {SubFunction, SubfunctionParam, NumberOfThreads,
+ LowerBound, UpperBound, Stride};
Builder.CreateCall(F, Args);
}
@@ -160,13 +160,13 @@ Value *OMPGenerator::createCallLoopNext(Value *LowerBoundPtr,
Type *LongPtrTy = PointerType::getUnqual(getIntPtrTy());
GlobalValue::LinkageTypes Linkage = Function::ExternalLinkage;
- Type *Params[] = { LongPtrTy, LongPtrTy, };
+ Type *Params[] = {LongPtrTy, LongPtrTy};
FunctionType *Ty = FunctionType::get(Builder.getInt8Ty(), Params, false);
F = Function::Create(Ty, Linkage, Name, M);
}
- Value *Args[] = { LowerBoundPtr, UpperBoundPtr, };
+ Value *Args[] = {LowerBoundPtr, UpperBoundPtr};
Value *Return = Builder.CreateCall(F, Args);
Return = Builder.CreateICmpNE(
OpenPOWER on IntegriCloud