Don't clear OverloadCandidateSets on destruction, it has no effect anymore.

And clearing a SmallPtrSet can be an expensive operation.

llvm-svn: 128081
This commit is contained in:
Benjamin Kramer 2011-03-22 09:46:54 +00:00
parent b572196a99
commit ce276e3822
1 changed files with 0 additions and 2 deletions

View File

@ -647,8 +647,6 @@ namespace clang {
/// \brief Clear out all of the candidates.
void clear();
~OverloadCandidateSet() { clear(); }
/// Find the best viable function on this overload set, if it exists.
OverloadingResult BestViableFunction(Sema &S, SourceLocation Loc,