summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-01-31 21:45:51 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-01-31 21:45:51 +0000
commit42e0bc88a377520bdc2318dbfd176037bcf600a7 (patch)
tree3eb16d2a411d5aa70a89718ecf099eef75630a0b
parentb81f60fd7669d635c0c404f78623283055ab99af (diff)
downloadllvm-42e0bc88a377520bdc2318dbfd176037bcf600a7.tar.gz
llvm-42e0bc88a377520bdc2318dbfd176037bcf600a7.tar.bz2
llvm-42e0bc88a377520bdc2318dbfd176037bcf600a7.tar.xz
Clean up whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200579 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/BlockFrequencyImpl.h2
-rw-r--r--unittests/ADT/APIntTest.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/BlockFrequencyImpl.h b/include/llvm/Analysis/BlockFrequencyImpl.h
index 2d04c5d4a9..5488847e00 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 ee547db52a..19c47ab13b 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;