summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-09-14 22:02:01 +0000
committerDouglas Gregor <dgregor@apple.com>2009-09-14 22:02:01 +0000
commit48bc374d1e16477cfa3eb1ee99f55c53ab216c52 (patch)
tree5e266c822b5a34c8b20cca801ddec351d2031abe /clang/lib/Sema
parent4112969df11ef9c24ed69d30797bb5ccc5b016f8 (diff)
downloadbcm5719-llvm-48bc374d1e16477cfa3eb1ee99f55c53ab216c52.tar.gz
bcm5719-llvm-48bc374d1e16477cfa3eb1ee99f55c53ab216c52.zip
Test function template partial ordering when resolving the address of
an overloaded function (template). llvm-svn: 81804
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaOverload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index 3e89a6413a2..ce004b8d05d 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud