commit | e3898ac6cca333f9a781eb6df4be5f3ba8258559 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Jul 18 23:52:59 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Jul 18 23:52:59 2012 +0000 |
tree | 0d82af83bb192c21d20fdb66731a1e1079b6cf82 | |
parent | cdd1b371eab6bfca6a002fe7e16e3c77cb2f24b7 [diff] |
Fix OverloadCandidateSet::clear to not leak PartialDiagnostics, found by Samuel Panzer. I've not been able to trigger a failure caused by this, so no test yet. Also included is a small change from Paul Robinson to only consider the FailureKind if the overload candidate did actually fail. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160470 91177308-0d34-0410-b5e6-96231b3b80d8