We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
addPotentialBindings
1 parent 3c731d8 commit 0321425Copy full SHA for 0321425
lib/Sema/CSBindings.cpp
@@ -524,7 +524,7 @@ void BindingSet::addBinding(PotentialBinding binding) {
524
llvm::any_of(Bindings, [](const PotentialBinding &binding) {
525
return binding.BindingType->isDoubleType();
526
}))
527
- return false;
+ return;
528
529
if (type->isDoubleType()) {
530
auto inferredCGFloat =
@@ -535,7 +535,7 @@ void BindingSet::addBinding(PotentialBinding binding) {
535
if (inferredCGFloat != Bindings.end()) {
536
Bindings.erase(inferredCGFloat);
537
Bindings.insert(inferredCGFloat->withType(type));
538
539
}
540
541
0 commit comments