Lines Matching defs:rewritten
528 bool rewritten () const { return (flags & LOOKUP_REWRITTEN); }
3887 else if (candidate->rewritten ())
3888 inform (cloc, "%s%#qD (rewritten)", msg, fn);
6314 handle C++20 rewritten comparison operator candidates.
6335 bool rewritten = (flags & LOOKUP_REWRITTEN);
6336 if (rewritten && code != EQ_EXPR && code != SPACESHIP_EXPR)
6435 if (!rewritten)
6442 /* Maybe add C++20 rewritten comparison candidates. */
6469 /* Add rewritten candidates in same order. */
6475 /* Add rewritten candidates in reverse order. */
6710 if (cand->rewritten ())
6749 /* If this was a C++20 rewritten comparison, adjust the result. */
6750 if (cand->rewritten ())
6761 /* If a rewritten operator== candidate is selected by
6771 inform (loc, "used as rewritten candidate for "
6783 /* If a rewritten operator<=> candidate is selected by
6787 or (x <=> y) @ 0 otherwise, using the selected rewritten
7099 /* C++20 rewritten comparison operators. */
12304 /* F2 is a rewritten candidate (12.4.1.2) and F1 is not, or F1 and F2 are
12305 rewritten candidates, and F2 is a synthesized candidate with reversed
12307 if (cand1->rewritten ())
12309 if (!cand2->rewritten ())
12316 else if (cand2->rewritten ())