| 81 | } |
| 82 | |
| 83 | void CheckIOImpl::coutCerrMisusageError(const Token* tok, const std::string& streamName) |
| 84 | { |
| 85 | reportError(tok, Severity::error, "coutCerrMisusage", "Invalid usage of output stream: '<< std::" + streamName + "'.", CWE398, Certainty::normal); |
| 86 | } |
| 87 | |
| 88 | //--------------------------------------------------------------------------- |
| 89 | // fflush(stdin) <- fflush only applies to output streams in ANSI C |
no test coverage detected