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

Method addError

src/SourceCompile/PreprocessFile.cpp:301–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301void PreprocessFile::addError(Error& error) {
302 if (!m_instructions.m_mute)
303 getCompileSourceFile()->getErrorContainer()->addError(error);
304}
305
306std::string_view PreprocessFile::getSymbol(SymbolId id) const {
307 return getCompileSourceFile()->getSymbolTable()->getSymbol(id);

Callers 1

syntaxErrorMethod · 0.45

Calls 1

getErrorContainerMethod · 0.45

Tested by

no test coverage detected