diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-14 22:02:01 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-14 22:02:01 +0000 |
commit | d173b207a032b39d35727877fc794aa2f52dc290 (patch) | |
tree | 92ba37f1b1b4f7500ea7d8b9662abe0984467499 /lib/Sema/SemaOverload.cpp | |
parent | 06c9cb4d1a29e708f51bce9f7ee5acbe1c3761c3 (diff) |
Test function template partial ordering when resolving the address of
an overloaded function (template).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81804 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r-- | lib/Sema/SemaOverload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 3e89a6413a..ce004b8d05 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -4062,7 +4062,7 @@ Sema::ResolveAddressOfOverloadedFunction(Expr *From, QualType ToType, // diagnostic below. FIXME: we could perform the quadratic // algorithm here, pruning the result set to limit the number of // candidates output later. - RemainingMatches.append(Matches.begin(), Matches.end()); + RemainingMatches.append(Matches.begin(), Matches.end()); } // [...] After such eliminations, if any, there shall remain exactly one |