1 .. title:: clang-tidy - modernize-use-nullptr
6 The check converts the usage of null pointer constants (e.g. ``NULL``, ``0``)
7 to use the new C++11 and C23 ``nullptr`` keyword.
42 .. option:: IgnoredTypes
44 Semicolon-separated list of regular expressions to match pointer types for
45 which implicit casts will be ignored. Default value:
46 `std::_CmpUnspecifiedParam::;^std::__cmp_cat::__unspec`.
48 .. option:: NullMacros
50 Comma-separated list of macro names that will be transformed along with
51 ``NULL``. By default this check will only replace the ``NULL`` macro and will
52 skip any similar user-defined macros.
59 #define MY_NULL (void*)0
73 if the :option:`NullMacros` option is set to ``MY_NULL``.