forked from OSchip/llvm-project
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:
parent
b572196a99
commit
ce276e3822
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue