enum OverloadCandidateRewriteKind
Description
The kinds of rewrite we perform on overload candidates. Note that the values here are chosen to serve as both bitflags and as a rank (lower values are preferred by overload resolution).
Declared at: clang/include/clang/Sema/Overload.h:90
Enumerators
Name | Value | Comment |
---|---|---|
CRK_None | 0 | Candidate is not a rewritten candidate. |
CRK_DifferentOperator | 1 | Candidate is a rewritten candidate with a different operator name. |
CRK_Reversed | 2 | Candidate is a rewritten candidate with a reversed order of parameters. |