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

Method getMacro

src/SourceCompile/PreprocessFile.cpp:1064–1067  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1062}
1063
1064MacroInfo* PreprocessFile::getMacro(std::string_view name) {
1065 registerSymbol(name);
1066 return m_compilationUnit->getMacroInfo(name);
1067}
1068
1069bool PreprocessFile::deleteMacro(std::string_view name,
1070 std::set<PreprocessFile*>& visited) {

Callers 7

exitDefine_directiveMethod · 0.80
enterIfdef_directiveMethod · 0.80
enterIfndef_directiveMethod · 0.80
enterElsif_directiveMethod · 0.80

Calls 4

StrCatFunction · 0.85
clearMethod · 0.80
getMacroInfoMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected