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

Method append

src/SourceCompile/PreprocessFile.cpp:607–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605void PreprocessFile::clearIncludeFileInfo() { m_includeFileInfo.clear(); }
606
607void PreprocessFile::append(std::string_view s) {
608 if (!m_pauseAppend) {
609 m_lineCount += LinesCount(s);
610 m_result.append(s);
611 }
612}
613
614void PreprocessFile::recordMacro(std::string_view name, uint32_t startLine,
615 uint16_t startColumn, uint32_t endLine,

Callers 15

enterCommentMethod · 0.45
enterIntegral_numberMethod · 0.45
enterStringMethod · 0.45
enterText_blobMethod · 0.45
enterModuleMethod · 0.45

Calls 1

LinesCountFunction · 0.85

Tested by

no test coverage detected