enum NarrowingKind
Description
NarrowingKind - The kind of narrowing conversion being performed by a standard conversion sequence according to C++11 [dcl.init.list]p7.
Declared at: clang/include/clang/Sema/Overload.h:232
Enumerators
Name | Value | Comment |
---|---|---|
NK_Not_Narrowing | 0 | Not a narrowing conversion. |
NK_Type_Narrowing | 1 | A narrowing conversion by virtue of the source and destination types. |
NK_Constant_Narrowing | 2 | A narrowing conversion, because a constant expression got narrowed. |
NK_Variable_Narrowing | 3 | A narrowing conversion, because a non-constant-expression variable might have got narrowed. |
NK_Dependent_Narrowing | 4 | Cannot tell whether this is a narrowing conversion because the expression is value-dependent. |