enum Expr::NullPointerConstantKind

Description

Enumeration used to describe the kind of Null pointer constant returned from \c isNullPointerConstant().

Declared at: clang/include/clang/AST/Expr.h:757

Enumerators

NameValueComment
NPCK_NotNull0Expression is not a Null pointer constant.
NPCK_ZeroExpression1Expression is a Null pointer constant built from a zero integer expression that is not a simple, possibly parenthesized, zero literal. C++ Core Issue 903 will classify these expressions as "not pointers" once it is adopted. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#903
NPCK_ZeroLiteral2Expression is a Null pointer constant built from a literal zero.
NPCK_CXX11_nullptr3Expression is a C++11 nullptr.
NPCK_GNUNull4Expression is a GNU-style __null constant.