diff --git a/lib/Support/SmallPtrSet.cpp b/lib/Support/SmallPtrSet.cpp index 1eea7272e01..758a952ae42 100644 --- a/lib/Support/SmallPtrSet.cpp +++ b/lib/Support/SmallPtrSet.cpp @@ -56,7 +56,7 @@ bool SmallPtrSetImpl::erase(void *Ptr) { // Clear the end element. E[-1] = getEmptyMarker(); --NumElements; - return false; + return true; } return false;