From 42e0bc88a377520bdc2318dbfd176037bcf600a7 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Fri, 31 Jan 2014 21:45:51 +0000 Subject: [PATCH] Clean up whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200579 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/BlockFrequencyImpl.h | 2 +- unittests/ADT/APIntTest.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/Analysis/BlockFrequencyImpl.h b/include/llvm/Analysis/BlockFrequencyImpl.h index 2d04c5d4a98..5488847e005 100644 --- a/include/llvm/Analysis/BlockFrequencyImpl.h +++ b/include/llvm/Analysis/BlockFrequencyImpl.h @@ -159,7 +159,7 @@ class BlockFrequencyImpl { return; } - if(BlockT *Pred = getSingleBlockPred(BB)) { + if (BlockT *Pred = getSingleBlockPred(BB)) { if (BlocksInLoop.count(Pred)) setBlockFreq(BB, getEdgeFreq(Pred, BB)); // TODO: else? irreducible, ignore it for now. diff --git a/unittests/ADT/APIntTest.cpp b/unittests/ADT/APIntTest.cpp index ee547db52af..19c47ab13bf 100644 --- a/unittests/ADT/APIntTest.cpp +++ b/unittests/ADT/APIntTest.cpp @@ -602,7 +602,7 @@ TEST(APIntTest, arrayAccess) { // Single word check. uint64_t E1 = 0x2CA7F46BF6569915ULL; APInt A1(64, E1); - for (unsigned i = 0, e = 64; i < e; ++i) { + for (unsigned i = 0, e = 64; i < e; ++i) { EXPECT_EQ(bool(E1 & (1ULL << i)), A1[i]); } @@ -632,7 +632,7 @@ TEST(APIntTest, LargeAPIntConstruction) { } TEST(APIntTest, nearestLogBase2) { - // Single word check. + // Single word check. // Test round up. uint64_t I1 = 0x1800001;