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
Name | Value | Comment |
---|---|---|
ICR_Exact_Match | 0 | Exact Match |
ICR_Promotion | 1 | Promotion |
ICR_Conversion | 2 | Conversion |
ICR_OCL_Scalar_Widening | 3 | OpenCL Scalar Widening |
ICR_Complex_Real_Conversion | 4 | Complex < -> Real conversion |
ICR_Writeback_Conversion | 5 | ObjC ARC writeback conversion |
ICR_C_Conversion | 6 | Conversion only allowed in the C standard (e.g. void* to char*). |
ICR_C_Conversion_Extension | 7 | Conversion not allowed by the C standard, but that we accept as an extension anyway. |