Lines Matching refs:warn
35 bool warn, error; member
48 .warn = (w_), \
71 if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2))) in check_msg()
1831 static void enable_warning_error(struct check *c, bool warn, bool error) in enable_warning_error() argument
1836 if ((warn && !c->warn) || (error && !c->error)) in enable_warning_error()
1838 enable_warning_error(c->prereq[i], warn, error); in enable_warning_error()
1840 c->warn = c->warn || warn; in enable_warning_error()
1844 static void disable_warning_error(struct check *c, bool warn, bool error) in disable_warning_error() argument
1850 if ((warn && c->warn) || (error && c->error)) { in disable_warning_error()
1857 disable_warning_error(cc, warn, error); in disable_warning_error()
1861 c->warn = c->warn && !warn; in disable_warning_error()
1865 void parse_checks_option(bool warn, bool error, const char *arg) in parse_checks_option() argument
1882 enable_warning_error(c, warn, error); in parse_checks_option()
1884 disable_warning_error(c, warn, error); in parse_checks_option()
1900 if (c->warn || c->error) in process_checks()