Lines Matching full:candidates
793 Candidates.clear();
3088 // Add all of the conversion functions as candidates.
5724 // deduction (14.8.3, 14.8.2). Those candidates are then handled as
5774 // deduction (14.8.3, 14.8.2). Those candidates are then handled as
6100 /// \brief Add overload candidates for overloaded operators that are
6103 /// Add the overloaded operator candidates that are member functions
6106 /// CandidateSet will store the added overload candidates. (C++
6121 // candidates, non-member candidates and built-in candidates, are
6126 // defined, the set of member candidates is the result of the
6128 // the set of member candidates is empty.
6227 /// built-in candidates.
6231 /// used in the built-in candidates.
6235 /// used in the built-in candidates.
6239 /// candidates.
6242 /// \brief A flag indicating non-record types are viable candidates
6592 /// candidates. It provides shared state and utility methods used throughout
6726 // Use a heuristic to reduce number of builtin candidates in the set:
6983 // [...]the built-in candidates include all of the candidate operator
6989 // aren't any built-in candidates of record type, and a user-defined operator
6993 // where we must suppress candidates like this.
7153 // Our candidates ignore the first parameter.
7285 // If this is operator=, keep track of the builtin candidates we added.
7566 // heuristic to reduce number of builtin candidates in the set.
7599 // contextually converted to bool long ago. The candidates below are
7667 // if the operator we're looking at has built-in operator candidates
7727 // operator '->', the built-in candidates set is empty.
7786 // operator '->', the built-in candidates set is empty.
7843 /// \brief Add function candidates found via argument-dependent lookup
7844 /// to the set of overloading candidates.
7848 /// all of the overload candidates found by ADL to the overload
7860 // redundant candidates from the set) relies on pointer-equality,
7864 // we supposed to consider on ADL candidates, anyway?
7869 // Erase all of the candidates we already knew about.
7879 // For each of the ADL candidates we found, add it to the overload
7904 // Define viable functions to be better candidates than non-viable
8148 //Notes the location of all overload candidates designated through
8412 /// candidates. This is not covered by the more general DiagnoseArityMismatch()
8730 // Note deleted candidates, but only if they're viable.
8743 // We don't really have anything else to say about viable candidates.
8899 // candidates. Would be more worthwhile if we had a sort
8908 // Criteria by which we can sort non-viable candidates:
8910 // 1. Arity mismatches come after other candidates.
8982 // Put candidates without locations (e.g. builtins) at the end.
9077 /// diagnostic messages containing the candidates in the candidate
9084 // Sort the candidates by viability and position. Sorting directly would
9125 "Non-viable built-in candidates are not added to Cands.");
9162 // Assuming that both candidates are not matches...
9173 // Put candidates without locations (e.g. builtins) at the end.
9199 Candidates.clear();
9208 // Sort the candidates by position (assuming no candidate is a match).
9232 // Set an arbitrary limit on the number of candidates we'll spam
9240 "Non-matching built-in candidates are not added to Cands.");
9769 // static and non-static candidates (otherwise the expression
9772 // the static candidates were rejected.
9844 /// \brief Add the overload candidates named by callee and/or found by argument
9944 OverloadCandidateSet Candidates(FnLoc);
9948 Candidates, false, /*KnownValid*/ false);
9951 if (Candidates.BestViableFunction(SemaRef, FnLoc, Best) != OR_Success) {
10049 /// Returns true if new candidates were found.
10356 // Add the candidates from the given function set.
10359 // Add operator candidates that are member functions.
10362 // Add candidates from ADL.
10367 // Add builtin operator candidates.
10444 // defined too late to be candidates.
10558 // various built-in candidates, but as DR507 points out, this can lead to
10572 // Add the candidates from the given function set.
10575 // Add operator candidates that are member functions.
10578 // Add candidates from ADL.
10584 // Add builtin operator candidates.
10710 // defined too late to be candidates.
10716 // produce an error. Then, show the non-viable candidates.
10720 "C++ binary operator overloading is missing candidates!");
10805 // Add operator candidates that are member functions.
10808 // Add builtin operator candidates.
11025 // Add overload candidates
11325 // surrogate candidates. Dig out the conversion function.