| 119 | } |
| 120 | |
| 121 | void RemoveMacro(const std::string& name) { |
| 122 | auto res = macroMap_.find(name); |
| 123 | if (res == macroMap_.end()) |
| 124 | return; |
| 125 | if (res->second.PreDef()) // Cannot undef predefined macro |
| 126 | return; |
| 127 | macroMap_.erase(res); |
| 128 | } |
| 129 | |
| 130 | std::string* SearchFile(const std::string& name, |
| 131 | const bool libHeader, |