astyle formatting
This commit is contained in:
parent
07a1222ac6
commit
c299d02dba
|
@ -1594,18 +1594,18 @@ void Preprocessor::simplifyCondition(const std::map<std::string, std::string> &c
|
||||||
|
|
||||||
bool Preprocessor::match_cfg_def(const std::map<std::string, std::string> &cfg, std::string def)
|
bool Preprocessor::match_cfg_def(const std::map<std::string, std::string> &cfg, std::string def)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
std::cout << "cfg: \"";
|
std::cout << "cfg: \"";
|
||||||
for (std::map<std::string, std::string>::const_iterator it = cfg.begin(); it != cfg.end(); ++it)
|
for (std::map<std::string, std::string>::const_iterator it = cfg.begin(); it != cfg.end(); ++it)
|
||||||
{
|
{
|
||||||
std::cout << it->first;
|
std::cout << it->first;
|
||||||
if (!it->second.empty())
|
if (!it->second.empty())
|
||||||
std::cout << "=" << it->second;
|
std::cout << "=" << it->second;
|
||||||
std::cout << ";";
|
std::cout << ";";
|
||||||
}
|
}
|
||||||
std::cout << "\" ";
|
std::cout << "\" ";
|
||||||
std::cout << "def: \"" << def << "\"\n";
|
std::cout << "def: \"" << def << "\"\n";
|
||||||
*/
|
*/
|
||||||
|
|
||||||
simplifyCondition(cfg, def, true);
|
simplifyCondition(cfg, def, true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue