Lines Matching refs:checkwarn
168 sub checkwarn { subroutine
316 checkwarn("UNUSEDIGNORE", $ignore_set{$_},
329 checkwarn("UNUSEDIGNORE",
362 checkwarn("BADCOMMAND",
367 checkwarn("BADCOMMAND",
381 checkwarn("BADCOMMAND",
455 checkwarn("LONGLINE", $line, length($l), $file, $l,
460 checkwarn("TABS",
465 checkwarn("TRAILINGSPACE",
471 checkwarn("COMMENTNOSPACESTART",
477 checkwarn("COMMENTNOSPACEEND",
526 checkwarn("CPPCOMMENTS",
533 checkwarn("INCLUDEDUP",
567 checkwarn("SPACEBEFOREPAREN", $line, length($leading)+length($word), $file, $l,
574 checkwarn("EQUALSNULL", $line,
582 checkwarn("NOTEQUALSZERO", $line,
589 … checkwarn("DOBRACE", $line, length($1) + 2, $file, $l, "one space after do before brace");
593 … checkwarn("BRACEWHILE", $line, length($1) + 2, $file, $l, "one space between brace and while");
600 checkwarn("ASSIGNWITHINCONDITION",
618 checkwarn("ONELINECONDITION",
625 checkwarn("SPACEAFTERPAREN",
632 checkwarn("NOSPACEAND",
639 checkwarn("NOSPACEAND",
651 checkwarn("NOSPACEC",
663 checkwarn("NOSPACEC",
675 checkwarn("NOSPACEQ",
682 checkwarn("NOSPACEQ",
689 checkwarn("NOSPACETHAN",
695 checkwarn("NOSPACETHAN",
703 checkwarn("SPACEBEFORECLOSE",
710 checkwarn("SPACEBEFORECOMMA",
721 checkwarn("RETURNNOSPACE", $line, length($1)+6, $file, $l,
732 checkwarn("SIZEOFNOPAREN", $line, length($1)+6, $file, $l,
764 checkwarn("COMMANOSPACE", $line, length($pref)+1, $file, $l,
771 checkwarn("BRACEELSE",
776 checkwarn("PARENBRACE",
781 checkwarn("EMPTYLINEBRACE",
787 checkwarn("SPACESEMICOLON",
793 checkwarn("SPACESWITCHCOLON",
798 checkwarn("SPACEBEFORELABEL",
813 checkwarn("BANNEDFUNC",
823 checkwarn("STRERROR",
835 checkwarn("STRNCPY",
847 checkwarn("STDERR",
855 checkwarn("SNPRINTF",
864 checkwarn("FOPENMODE",
873 checkwarn("BRACEPOS",
888 checkwarn("INDENTATION", $line, length($1), $file, $ol,
914 checkwarn("INDENTATION", $line, length($1), $file, $ol,
923 checkwarn("ASTERISKSPACE",
929 checkwarn("ASTERISKNOSPACE",
941 checkwarn("BRACEPOS",
949 checkwarn("EQUALSNOSPACE",
955 checkwarn("NOSPACEEQUALS",
962 checkwarn("PLUSNOSPACE",
968 checkwarn("NOSPACEPLUS",
975 checkwarn("SEMINOSPACE",
982 checkwarn("TYPEDEFSTRUCT",
988 checkwarn("EXCLAMATIONSPACE",
998 checkwarn("MULTISPACE",
1009 checkwarn("BANNEDPREPROC",
1022 checkwarn("COPYRIGHT", 1, 0, $file, "", "Missing copyright statement", 1);
1062 checkwarn("COPYRIGHTYEAR", $copyright[0]{line}, $copyright[0]{col},
1070 checkwarn("OPENCOMMENT", 1, 0, $file, "", "Missing closing comment", 1);