Open Lestropie opened 2 weeks ago
Came to mind reviewing #2911, which removes some but not all usage.
NULL is legacy C macro; looks like from C++11 it should be defined as nullptr, but nullptr is the better syntax I think.
NULL
nullptr
check_syntax
This should be fairly easy to do. Clang-tidy already has a check for this modernize-use-nullptr. We can probably add it our .clang-tidy.
Came to mind reviewing #2911, which removes some but not all usage.
NULL
is legacy C macro; looks like from C++11 it should be defined asnullptr
, butnullptr
is the better syntax I think.NULL
withnullptr
where relevantcheck_syntax
check for bad use ofNULL