MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / ignoreOtherConfigs

Method ignoreOtherConfigs

lib/importproject.cpp:203–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void ImportProject::ignoreOtherConfigs(const std::string &cfg)
204{
205 for (auto it = fileSettings.cbegin(); it != fileSettings.cend();) {
206 if (it->cfg != cfg)
207 it = fileSettings.erase(it);
208 else
209 ++it;
210 }
211}
212
213void ImportProject::fsSetDefines(FileSettings& fs, std::string defs)
214{

Callers 2

parseFromArgsMethod · 0.80
analyzeFilesMethod · 0.80

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected