diff --git a/include/llvm/ADT/SmallSet.h b/include/llvm/ADT/SmallSet.h index 4eb7de895a6..5dfe924f6d7 100644 --- a/include/llvm/ADT/SmallSet.h +++ b/include/llvm/ADT/SmallSet.h @@ -55,6 +55,7 @@ public: } /// insert - Insert an element into the set if it isn't already there. + /// Returns true if the element is inserted (it was not in the set before). bool insert(const T &V) { if (!isSmall()) return Set.insert(V).second;