enum class Expr::ConstantExprKind
Declared at: clang/include/clang/AST/Expr.h:718
Enumerators
Name | Value | Comment |
---|---|---|
Normal | 0 | An integer constant expression (an array bound, enumerator, case value, bit-field width, or similar) or similar. |
NonClassTemplateArgument | 1 | A non-class template argument. Such a value is only used for mangling, not for code generation, so can refer to dllimported functions. |
ClassTemplateArgument | 2 | A class template argument. Such a value is used for code generation. |
ImmediateInvocation | 3 | An immediate invocation. The destruction of the end result of this evaluation is not part of the evaluation, but all other temporaries are destroyed. |