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

NameValueComment
CRK_None0Candidate is not a rewritten candidate.
CRK_DifferentOperator1Candidate is a rewritten candidate with a different operator name.
CRK_Reversed2Candidate is a rewritten candidate with a reversed order of parameters.