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

Method runChecks

lib/checkexceptionsafety.cpp:412–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void CheckExceptionSafety::runChecks(const Tokenizer &tokenizer, ErrorLogger& errorLogger)
413{
414 if (tokenizer.isC())
415 return;
416
417 CheckExceptionSafetyImpl checkExceptionSafety(&tokenizer, tokenizer.getSettings(), errorLogger);
418 checkExceptionSafety.destructors();
419 checkExceptionSafety.deallocThrow();
420 checkExceptionSafety.checkRethrowCopy();
421 checkExceptionSafety.checkCatchExceptionByValue();
422 checkExceptionSafety.nothrowThrows();
423 checkExceptionSafety.unhandledExceptionSpecification();
424 checkExceptionSafety.rethrowNoCurrentException();
425}
426
427void CheckExceptionSafety::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const
428{

Callers

nothing calls this directly

Calls 8

isCMethod · 0.80
deallocThrowMethod · 0.80
checkRethrowCopyMethod · 0.80
nothrowThrowsMethod · 0.80
destructorsMethod · 0.45

Tested by

no test coverage detected