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
| Name | Value | Comment |
|---|---|---|
| NPCK_NotNull | 0 | Expression is not a Null pointer constant. |
| NPCK_ZeroExpression | 1 | Expression 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_ZeroLiteral | 2 | Expression is a Null pointer constant built from a literal zero. |
| NPCK_CXX11_nullptr | 3 | Expression is a C++11 nullptr. |
| NPCK_GNUNull | 4 | Expression is a GNU-style __null constant. |