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

Method setCurrentTimeInfo

src/SourceCompile/CompilationUnit.cpp:101–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void CompilationUnit::setCurrentTimeInfo(PathId fileId) {
102 if (m_timeInfo.empty()) {
103 return;
104 }
105 TimeInfo info = m_timeInfo[m_timeInfo.size() - 1];
106 info.m_fileId = fileId;
107 info.m_line = 1;
108 m_timeInfo.push_back(info);
109}
110
111} // namespace SURELOG

Callers 2

enterSource_textMethod · 0.80
preprocessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected