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

NameValueComment
NK_Not_Narrowing0Not a narrowing conversion.
NK_Type_Narrowing1A narrowing conversion by virtue of the source and destination types.
NK_Constant_Narrowing2A narrowing conversion, because a constant expression got narrowed.
NK_Variable_Narrowing3A narrowing conversion, because a non-constant-expression variable might have got narrowed.
NK_Dependent_Narrowing4Cannot tell whether this is a narrowing conversion because the expression is value-dependent.