| 854 | } |
| 855 | |
| 856 | void CheckFunctions::runChecks(const Tokenizer &tokenizer, ErrorLogger& errorLogger) |
| 857 | { |
| 858 | CheckFunctionsImpl checkFunctions(&tokenizer, tokenizer.getSettings(), errorLogger); |
| 859 | |
| 860 | checkFunctions.checkIgnoredReturnValue(); |
| 861 | checkFunctions.checkMissingReturn(); // Missing "return" in exit path |
| 862 | |
| 863 | // --check-library : functions with nonmatching configuration |
| 864 | checkFunctions.checkLibraryMatchFunctions(); |
| 865 | |
| 866 | checkFunctions.checkProhibitedFunctions(); |
| 867 | checkFunctions.invalidFunctionUsage(); |
| 868 | checkFunctions.checkMathFunctions(); |
| 869 | checkFunctions.memsetZeroBytes(); |
| 870 | checkFunctions.memsetInvalid2ndParam(); |
| 871 | checkFunctions.returnLocalStdMove(); |
| 872 | checkFunctions.useStandardLibrary(); |
| 873 | } |
| 874 | |
| 875 | void CheckFunctions::getErrorMessages(ErrorLogger& errorLogger, const Settings &settings) const |
| 876 | { |
nothing calls this directly
no test coverage detected