MCPcopy Create free account
hub / github.com/csmith-project/csmith / empty_line

Method empty_line

src/StringUtils.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39using namespace std;
40
41bool
42StringUtils::empty_line(const std::string &line)
43{
44 if (line.empty())
45 return true;
46 size_t found = line.find_first_not_of("\t\n ");
47 return (found == string::npos);
48}
49
50bool
51StringUtils::is_space(const char c)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected