| 234 | } |
| 235 | |
| 236 | static void set_flag(color_ostream& out, const char* name, const vector<string>& filters, bool all, char val, bool enabled, bool& elem) { |
| 237 | if ((all || enabled) && matches_filter(out, filters, name)) { |
| 238 | DEBUG(log, out).print("setting {} to {}\n", name, val); |
| 239 | elem = val; |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | static void set_filter_elem(color_ostream& out, const char* subcat, const vector<string>& filters, char val, |
| 244 | const string& name, const string& id, char& elem) { |
no test coverage detected