[llvm] r200579 - Clean up whitespace
Duncan P. N. Exon Smith
dexonsmith at apple.com
Fri Jan 31 13:45:52 PST 2014
Author: dexonsmith
Date: Fri Jan 31 15:45:51 2014
New Revision: 200579
URL: http://llvm.org/viewvc/llvm-project?rev=200579&view=rev
Log:
Clean up whitespace
Modified:
llvm/trunk/include/llvm/Analysis/BlockFrequencyImpl.h
llvm/trunk/unittests/ADT/APIntTest.cpp
Modified: llvm/trunk/include/llvm/Analysis/BlockFrequencyImpl.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/BlockFrequencyImpl.h?rev=200579&r1=200578&r2=200579&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/BlockFrequencyImpl.h (original)
+++ llvm/trunk/include/llvm/Analysis/BlockFrequencyImpl.h Fri Jan 31 15:45:51 2014
@@ -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.
Modified: llvm/trunk/unittests/ADT/APIntTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/APIntTest.cpp?rev=200579&r1=200578&r2=200579&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/APIntTest.cpp (original)
+++ llvm/trunk/unittests/ADT/APIntTest.cpp Fri Jan 31 15:45:51 2014
@@ -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;
More information about the llvm-commits
mailing list