From 085a9ebbc705c6e7d3fd8c692ef1c46fdfb885ce Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 20 Feb 2009 22:54:36 +0000 Subject: [PATCH] Removed trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65197 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/ImmutableSet.h | 2 +- include/llvm/ADT/ilist.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);