summaryrefslogtreecommitdiff
path: root/lib/Sema/SemaOverload.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-05-16 02:06:16 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-05-16 02:06:16 +0000
commite8151ca3d9c9ec616c03bf96fc70716b60189b47 (patch)
tree511f94c79f4113bc31d156c67eeaf4a2ec2509b9 /lib/Sema/SemaOverload.cpp
parent681bb9c202501f510b5ef9eb631095b5c75a0788 (diff)
downloadclang-e8151ca3d9c9ec616c03bf96fc70716b60189b47.tar.gz
Fix regression in r360311 caused by reversed bool arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r--lib/Sema/SemaOverload.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp
index 74283a067c..256c2343e5 100644
--- a/lib/Sema/SemaOverload.cpp
+++ b/lib/Sema/SemaOverload.cpp
@@ -9003,8 +9003,9 @@ Sema::AddArgumentDependentLookupCandidates(DeclarationName Name,
AddOverloadCandidate(FD, FoundDecl, Args, CandidateSet,
/*SupressUserConversions=*/false, PartialOverloading,
+ /*AllowExplicit*/ true,
/*AllowExplicitConversions*/ false,
- /*AllowExplicit*/ true, ADLCallKind::UsesADL);
+ ADLCallKind::UsesADL);
} else {
AddTemplateOverloadCandidate(
cast<FunctionTemplateDecl>(*I), FoundDecl, ExplicitTemplateArgs, Args,