From 0d1eee3298a8ca0b15f58f60007a757daa491737 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Tue, 5 Feb 2013 11:56:05 +0000 Subject: [PATCH] ScopDetect: clang-format pointer types in templates llvm-svn: 174365 --- polly/lib/Analysis/ScopDetection.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 731bd93..ef4eeac 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -281,14 +281,14 @@ bool ScopDetection::isValidMemoryAccess(Instruction &Inst, OS << "Possible aliasing: "; - std::vector Pointers; + std::vector Pointers; for (AliasSet::iterator AI = AS.begin(), AE = AS.end(); AI != AE; ++AI) Pointers.push_back(AI.getPointer()); std::sort(Pointers.begin(), Pointers.end()); - for (std::vector::iterator PI = Pointers.begin(), + for (std::vector::iterator PI = Pointers.begin(), PE = Pointers.end(); ;) { Value *V = *PI; @@ -475,7 +475,7 @@ void ScopDetection::findScops(Region &R) { // regions that form a Scop are not found. Therefore, those non canonical // regions are checked by expanding the canonical ones. - std::vector ToExpand; + std::vector ToExpand; for (Region::iterator I = R.begin(), E = R.end(); I != E; ++I) ToExpand.push_back(*I); @@ -633,7 +633,7 @@ bool ScopDetection::runOnFunction(llvm::Function &F) { void polly::ScopDetection::verifyRegion(const Region &R) const { assert(isMaxRegionInScop(R) && "Expect R is a valid region."); - DetectionContext Context(const_cast(R), *AA, true /*verifying*/); + DetectionContext Context(const_cast(R), *AA, true /*verifying*/); isValidRegion(Context); } -- 2.7.4