Lines Matching full:viable
808 if (!i->Viable && i->FailureKind == ovl_fail_bad_deduction)
1137 // we have only one viable function with this signature on any
1240 if (Cand->Viable)
3415 // the best viable function. Otherwise, this conversion is considered worse
3423 // In C++03, we pick #2 as the best viable function.
3424 // In C++11, we pick #1 as the best viable function, because ellipsis
3427 // convert arguments, #2 would be the best viable function in C++11.
3428 // If the best viable function has this conversion, a warning will be issued
4269 if (Cand->Viable)
4676 // constructors are viable but none is better than the others, the
5525 ViableConversions; // These are *potentially* viable in C++1y.
5537 // Collect explicit or viable (potentially in C++1y) conversions.
5552 "viable in C++1y");
5601 // potentially viable conversions.
5768 Candidate.Viable = true;
5782 Candidate.Viable = false;
5791 // parameters is viable only if it has an ellipsis in its parameter
5795 Candidate.Viable = false;
5801 // is viable only if the (m+1)st parameter has a default argument
5808 Candidate.Viable = false;
5821 Candidate.Viable = false;
5830 // (C++ 13.3.2p3): for F to be a viable function, there shall
5843 Candidate.Viable = false;
5856 Candidate.Viable = false;
6154 // parameters is viable only if it has an ellipsis in its parameter
6158 Candidate.Viable = false;
6164 // is viable only if the (m+1)st parameter has a default argument
6171 Candidate.Viable = false;
6176 Candidate.Viable = true;
6188 Candidate.Viable = false;
6198 Candidate.Viable = false;
6207 // (C++ 13.3.2p3): for F to be a viable function, there shall
6219 Candidate.Viable = false;
6232 Candidate.Viable = false;
6273 Candidate.Viable = false;
6324 Candidate.Viable = false;
6427 Candidate.Viable = true;
6448 Candidate.Viable = false;
6461 Candidate.Viable = false;
6483 Candidate.Viable = false;
6512 Candidate.Viable = false;
6524 Candidate.Viable = false;
6531 Candidate.Viable = false;
6541 Candidate.Viable = false;
6574 Candidate.Viable = false;
6613 Candidate.Viable = true;
6624 Candidate.Viable = false;
6647 // parameters is viable only if it has an ellipsis in its parameter
6650 Candidate.Viable = false;
6659 Candidate.Viable = false;
6668 // (C++ 13.3.2p3): for F to be a viable function, there shall
6680 Candidate.Viable = false;
6693 Candidate.Viable = false;
6781 Candidate.Viable = true;
6810 Candidate.Viable = false;
6844 /// \brief A flag indicating non-record types are viable candidates
7595 if (!C->Viable || !C->Function || C->Function->getNumParams() != 2)
8548 // Define viable functions to be better candidates than non-viable
8550 if (!Cand2.Viable)
8551 return Cand1.Viable;
8552 else if (!Cand1.Viable)
8566 // A viable function F1 is defined to be a better function than another
8567 // viable function F2 if for all arguments i, ICSi(F1) is not a worse
8755 /// \brief Computes the best viable function (C++ 13.3.3)
8775 // compilation mode only one call variant is viable. We need to
8776 // exclude non-viable overload candidates from consideration based
8800 // Find the best viable function.
8803 if (Cand->Viable)
8808 // If we didn't find any viable functions, abort.
8814 // Make sure that this function is better than every other viable
8817 if (Cand->Viable &&
8832 // Best is the best viable function.
9690 // Note deleted candidates, but only if they're viable.
9691 if (Cand->Viable && (Fn->isDeleted() ||
9704 // We don't really have anything else to say about viable candidates.
9705 if (Cand->Viable) {
9878 if (L->Viable) {
9879 if (!R->Viable) return true;
9886 } else if (R->Viable)
9889 assert(L->Viable == R->Viable);
9891 // Criteria by which we can sort non-viable candidates:
9892 if (!L->Viable) {
9991 assert(!Cand->Viable);
10083 if (Cand->Viable)
10089 // Otherwise, this a non-viable builtin candidate. We do not, in general,
10119 assert(Cand->Viable &&
10120 "Non-viable built-in candidates are not added to Cands.");
10121 // Generally we only see ambiguities including viable builtin
10132 // If this is a viable builtin, print it.
10204 /// OCD == OCD_AllCandidates and Cand->Viable == false.
10542 // best viable function in an overload set) that identifies the
11065 /// Returns true if a viable candidate was found and a diagnostic was issued.
11102 // No viable functions. Don't bother the user with notes for functions
11169 /// Returns true if a viable candidate was found and a diagnostic was issued.
11270 // an expression with viable lookup results, which should never
11373 // Try to recover by looking for viable functions which the user might
11433 if (I->Viable &&
11435 I->Viable = false;
11637 // No viable function; fall through to handling this as a
11661 // Either we found no viable overloaded operator or we matched a
11880 // viable functions, then the operator is assumed to be the
11907 // No viable function; try to create a built-in operation, which will
11908 // produce an error. Then, show the non-viable candidates.