MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / LinesCount

Function LinesCount

src/SourceCompile/PreprocessFile.cpp:347–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347static size_t LinesCount(std::string_view s) {
348 return std::count(s.begin(), s.end(), '\n');
349}
350
351bool PreprocessFile::preprocess() {
352 m_result.clear();

Callers 2

preprocessMethod · 0.85
appendMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected