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()
1870 static void enable_warning_error(struct check *c, bool warn, bool error) in enable_warning_error() argument
1875 if ((warn && !c->warn) || (error && !c->error)) in enable_warning_error()
1877 enable_warning_error(c->prereq[i], warn, error); in enable_warning_error()
1879 c->warn = c->warn || warn; in enable_warning_error()
1883 static void disable_warning_error(struct check *c, bool warn, bool error) in disable_warning_error() argument
1889 if ((warn && c->warn) || (error && c->error)) { in disable_warning_error()
1896 disable_warning_error(cc, warn, error); in disable_warning_error()
1900 c->warn = c->warn && !warn; in disable_warning_error()
1904 void parse_checks_option(bool warn, bool error, const char *arg) in parse_checks_option() argument
1921 enable_warning_error(c, warn, error); in parse_checks_option()
1923 disable_warning_error(c, warn, error); in parse_checks_option()
1939 if (c->warn || c->error) in process_checks()