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

Function portabilityBackslash

externals/simplecpp/simplecpp.cpp:622–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622static void portabilityBackslash(simplecpp::OutputList *outputList, const simplecpp::Location &location)
623{
624 if (!outputList)
625 return;
626 simplecpp::Output err{
627 simplecpp::Output::PORTABILITY_BACKSLASH,
628 location,
629 "Combination 'backslash space newline' is not portable."
630 };
631 outputList->emplace_back(std::move(err));
632}
633
634static bool isStringLiteralPrefix(const std::string &str)
635{

Callers 1

readfileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected