MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / getErrorMessages

Method getErrorMessages

lib/checknullpointer.cpp:703–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703void CheckNullPointer::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const
704{
705 CheckNullPointerImpl c(nullptr, settings, errorLogger);
706 c.nullPointerError(nullptr, "pointer", nullptr, false);
707 c.pointerArithmeticError(nullptr, nullptr, false);
708 // TODO: nullPointerArithmeticOutOfMemory
709 c.redundantConditionWarning(nullptr, nullptr, nullptr, false);
710 // TODO: ctunullpointer
711 // TODO: ctunullpointerOutOfMemory
712 // TODO: ctunullpointerOutOfResources
713}

Callers

nothing calls this directly

Calls 3

nullPointerErrorMethod · 0.80

Tested by

no test coverage detected