Home | History | Annotate | Download | only in Sema

Lines Matching refs:Viable

790     if (!i->Viable && i->FailureKind == ovl_fail_bad_deduction)
1184 if (Cand->Viable)
3336 // the best viable function. Otherwise, this conversion is considered worse
3344 // In C++03, we pick #2 as the best viable function.
3345 // In C++11, we pick #1 as the best viable function, because ellipsis
3348 // convert arguments, #2 would be the best viable function in C++11.
3349 // If the best viable function has this conversion, a warning will be issued
4182 if (Cand->Viable)
4538 // constructors are viable but none is better than the others, the
5346 ViableConversions; // These are *potentially* viable in C++1y.
5359 // Collect explicit or viable (potentially in C++1y) conversions.
5376 "viable in C++1y");
5425 // potentially viable conversions.
5603 Candidate.Viable = true;
5611 // parameters is viable only if it has an ellipsis in its parameter
5615 Candidate.Viable = false;
5621 // is viable only if the (m+1)st parameter has a default argument
5628 Candidate.Viable = false;
5637 Candidate.Viable = false;
5646 // (C++ 13.3.2p3): for F to be a viable function, there shall
5659 Candidate.Viable = false;
5672 Candidate.Viable = false;
5855 // parameters is viable only if it has an ellipsis in its parameter
5858 Candidate.Viable = false;
5864 // is viable only if the (m+1)st parameter has a default argument
5871 Candidate.Viable = false;
5876 Candidate.Viable = true;
5888 Candidate.Viable = false;
5898 // (C++ 13.3.2p3): for F to be a viable function, there shall
5910 Candidate.Viable = false;
5923 Candidate.Viable = false;
5963 Candidate.Viable = false;
6013 Candidate.Viable = false;
6116 Candidate.Viable = true;
6138 Candidate.Viable = false;
6150 Candidate.Viable = false;
6172 Candidate.Viable = false;
6201 Candidate.Viable = false;
6213 Candidate.Viable = false;
6220 Candidate.Viable = false;
6230 Candidate.Viable = false;
6263 Candidate.Viable = false;
6302 Candidate.Viable = true;
6314 Candidate.Viable = false;
6337 // parameters is viable only if it has an ellipsis in its parameter
6340 Candidate.Viable = false;
6349 Candidate.Viable = false;
6358 // (C++ 13.3.2p3): for F to be a viable function, there shall
6370 Candidate.Viable = false;
6383 Candidate.Viable = false;
6470 Candidate.Viable = true;
6499 Candidate.Viable = false;
6532 /// \brief A flag indicating non-record types are viable candidates
7293 if (!C->Viable || !C->Function || C->Function->getNumParams() != 2)
8193 // Define viable functions to be better candidates than non-viable
8195 if (!Cand2.Viable)
8196 return Cand1.Viable;
8197 else if (!Cand1.Viable)
8211 // A viable function F1 is defined to be a better function than another
8212 // viable function F2 if for all arguments i, ICSi(F1) is not a worse
8342 /// \brief Computes the best viable function (C++ 13.3.3)
8356 // Find the best viable function.
8359 if (Cand->Viable)
8365 // If we didn't find any viable functions, abort.
8369 // Make sure that this function is better than every other viable
8372 if (Cand->Viable &&
8381 // Best is the best viable function.
9073 // Note deleted candidates, but only if they're viable.
9074 if (Cand->Viable && (Fn->isDeleted() ||
9086 // We don't really have anything else to say about viable candidates.
9087 if (Cand->Viable) {
9244 if (L->Viable) {
9245 if (!R->Viable) return true;
9252 } else if (R->Viable)
9255 assert(L->Viable == R->Viable);
9257 // Criteria by which we can sort non-viable candidates:
9258 if (!L->Viable) {
9359 assert(!Cand->Viable);
9453 if (Cand->Viable)
9459 // Otherwise, this a non-viable builtin candidate. We do not, in general,
9488 assert(Cand->Viable &&
9489 "Non-viable built-in candidates are not added to Cands.");
9490 // Generally we only see ambiguities including viable builtin
9501 // If this is a viable builtin, print it.
9570 /// OCD == OCD_AllCandidates and Cand->Viable == false.
9853 // best viable function in an overload set) that identifies the
10295 /// Returns true if a viable candidate was found and a diagnostic was issued.
10329 // No viable functions. Don't bother the user with notes for functions
10396 /// Returns true if a viable candidate was found and a diagnostic was issued.
10491 // an expression with viable lookup results, which should never
10589 // Try to recover by looking for viable functions which the user might
10825 // No viable function; fall through to handling this as a
10849 // Either we found no viable overloaded operator or we matched a
11062 // viable functions, then the operator is assumed to be the
11089 // No viable function; try to create a built-in operation, which will
11090 // produce an error. Then, show the non-viable candidates.