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

Method getIncluderFileId

src/SourceCompile/PreprocessFile.cpp:749–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747}
748
749PathId PreprocessFile::getIncluderFileId(uint32_t line) const {
750 const PreprocessFile* tmp = this;
751 while (tmp->m_includer != nullptr) {
752 tmp = tmp->m_includer;
753 }
754 return tmp->getFileId(line);
755}
756
757PreprocessFile* PreprocessFile::getSourceFile() {
758 PreprocessFile* tmp = this;

Callers 2

syntaxErrorMethod · 0.80
logErrorMethod · 0.80

Calls 1

getFileIdMethod · 0.45

Tested by

no test coverage detected