Home | History | Annotate | Download | only in Sema

Lines Matching refs:Viable

968       if (Cand->Viable)
3492 if (Cand->Viable)
3806 // constructors are viable but none is better than the others, the
4397 Candidate.Viable = true;
4405 // parameters is viable only if it has an ellipsis in its parameter
4409 Candidate.Viable = false;
4415 // is viable only if the (m+1)st parameter has a default argument
4422 Candidate.Viable = false;
4431 Candidate.Viable = false;
4441 // (C++ 13.3.2p3): for F to be a viable function, there shall
4453 Candidate.Viable = false;
4572 // parameters is viable only if it has an ellipsis in its parameter
4575 Candidate.Viable = false;
4581 // is viable only if the (m+1)st parameter has a default argument
4588 Candidate.Viable = false;
4593 Candidate.Viable = true;
4606 Candidate.Viable = false;
4616 // (C++ 13.3.2p3): for F to be a viable function, there shall
4628 Candidate.Viable = false;
4675 Candidate.Viable = false;
4726 Candidate.Viable = false;
4774 Candidate.Viable = true;
4797 Candidate.Viable = false;
4809 Candidate.Viable = false;
4831 Candidate.Viable = false;
4860 Candidate.Viable = false;
4871 Candidate.Viable = false;
4877 Candidate.Viable = false;
4913 Candidate.Viable = false;
4953 Candidate.Viable = true;
4966 Candidate.Viable = false;
4989 // parameters is viable only if it has an ellipsis in its parameter
4992 Candidate.Viable = false;
5001 Candidate.Viable = false;
5010 // (C++ 13.3.2p3): for F to be a viable function, there shall
5022 Candidate.Viable = false;
5113 Candidate.Viable = true;
5143 Candidate.Viable = false;
5174 /// \brief A flag indicating non-record types are viable candidates
5890 if (!C->Viable || !C->Function || C->Function->getNumParams() != 2)
6756 // Define viable functions to be better candidates than non-viable
6758 if (!Cand2.Viable)
6759 return Cand1.Viable;
6760 else if (!Cand1.Viable)
6774 // A viable function F1 is defined to be a better function than another
6775 // viable function F2 if for all arguments i, ICSi(F1) is not a worse
6855 /// \brief Computes the best viable function (C++ 13.3.3)
6871 // Find the best viable function.
6874 if (Cand->Viable)
6880 // If we didn't find any viable functions, abort.
6884 // Make sure that this function is better than every other viable
6887 if (Cand->Viable &&
6896 // Best is the best viable function.
7442 // Note deleted candidates, but only if they're viable.
7443 if (Cand->Viable && (Fn->isDeleted() ||
7454 // We don't really have anything else to say about viable candidates.
7455 if (Cand->Viable) {
7605 if (L->Viable) {
7606 if (!R->Viable) return true;
7613 } else if (R->Viable)
7616 assert(L->Viable == R->Viable);
7618 // Criteria by which we can sort non-viable candidates:
7619 if (!L->Viable) {
7704 assert(!Cand->Viable);
7799 if (Cand->Viable)
7805 // Otherwise, this a non-viable builtin candidate. We do not, in general,
7835 assert(Cand->Viable &&
7836 "Non-viable built-in candidates are not added to Cands.");
7837 // Generally we only see ambiguities including viable builtin
7848 // If this is a viable builtin, print it.
8083 // best viable function in an overload set) that identifies the
8471 /// Returns true if a viable candidate was found and a diagnostic was issued.
8501 // No viable functions. Don't bother the user with notes for functions
8561 /// Returns true if a viable candidate was found and a diagnostic was issued.
8620 // an expression with viable lookup results, which should never
8704 // Try to recover by looking for viable functions which the user might
8912 // No viable function; fall through to handling this as a
8936 // Either we found no viable overloaded operator or we matched a
9181 // viable functions, then the operator is assumed to be the
9203 // No viable function; try to create a built-in operation, which will
9204 // produce an error. Then, show the non-viable candidates.