enum ImplicitConversionRank

Description

ImplicitConversionRank - The rank of an implicit conversion kind. The enumerator values match with Table 9 of (C++ 13.3.3.1.1) and are listed such that better conversion ranks have smaller values.

Declared at: clang/include/clang/Sema/Overload.h:201

Enumerators

NameValueComment
ICR_Exact_Match0Exact Match
ICR_Promotion1Promotion
ICR_Conversion2Conversion
ICR_OCL_Scalar_Widening3OpenCL Scalar Widening
ICR_Complex_Real_Conversion4Complex < -> Real conversion
ICR_Writeback_Conversion5ObjC ARC writeback conversion
ICR_C_Conversion6Conversion only allowed in the C standard (e.g. void* to char*).
ICR_C_Conversion_Extension7Conversion not allowed by the C standard, but that we accept as an extension anyway.