| 165 | } |
| 166 | |
| 167 | bool Program::addDefines(const DefineList& dl) |
| 168 | { |
| 169 | bool dirty = false; |
| 170 | for (auto it : dl) |
| 171 | { |
| 172 | if (addDefine(it.first, it.second)) |
| 173 | { |
| 174 | dirty = true; |
| 175 | } |
| 176 | } |
| 177 | return dirty; |
| 178 | } |
| 179 | |
| 180 | bool Program::removeDefine(const std::string& name) |
| 181 | { |
no outgoing calls