| 37 | : m_fileunit(fileunit), m_inDesignElement(false) {} |
| 38 | |
| 39 | MacroInfo* CompilationUnit::getMacroInfo(std::string_view macroName) { |
| 40 | MacroStorageRef::iterator itr = m_macros.find(macroName); |
| 41 | if (itr != m_macros.end()) { |
| 42 | return itr->second.back(); |
| 43 | } |
| 44 | return nullptr; |
| 45 | } |
| 46 | |
| 47 | void CompilationUnit::registerMacroInfo(std::string_view macroName, |
| 48 | MacroInfo* macro) { |
no outgoing calls
no test coverage detected