From: Misha Brukman Date: Fri, 20 Feb 2009 22:54:36 +0000 (+0000) Subject: Removed trailing whitespace. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=085a9ebbc705c6e7d3fd8c692ef1c46fdfb885ce;p=oota-llvm.git Removed trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65197 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/ImmutableSet.h b/include/llvm/ADT/ImmutableSet.h index 2db659af7d5..ba1262b077c 100644 --- a/include/llvm/ADT/ImmutableSet.h +++ b/include/llvm/ADT/ImmutableSet.h @@ -1000,7 +1000,7 @@ public: /// isEmpty - Return true if the set contains no elements. bool isEmpty() const { return !Root; } - + /// isSingleton - Return true if the set contains exactly one element. /// This method runs in constant time. bool isSingleton() const { return getHeight() == 1; } diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h index 6bfc10009d1..9a088fd71e6 100644 --- a/include/llvm/ADT/ilist.h +++ b/include/llvm/ADT/ilist.h @@ -386,7 +386,7 @@ public: } iterator insertAfter(iterator where, NodeTy *New) { - if (empty()) + if (empty()) return insert(begin(), New); else return insert(++where, New);