aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ADT/ImmutableSet.h2
-rw-r--r--include/llvm/ADT/ilist.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/ImmutableSet.h b/include/llvm/ADT/ImmutableSet.h
index 2db659af7d..ba1262b077 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 6bfc10009d..9a088fd71e 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);