summaryrefslogtreecommitdiffstats
path: root/util/check-format-test-positives.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* check-format.pl: improve whitespace reporting on <op>=Dr. David von Oheimb2022-09-021-0/+2
| | | | | | | Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/18812)
* check-format.pl: further fixes for whitespace reporting within 'for (...)'Dr. David von Oheimb2022-09-021-12/+14
| | | | | | | Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/18812)
* check-format.pl: report #if and #elif with constant condition; improve ↵Dr. David von Oheimb2022-09-021-8/+10
| | | | | | | | | checks on '/*' Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/18812)
* check-format.pl: extend checking into macro bodies; small further improvementsDr. David von Oheimb2022-09-021-3/+5
| | | | | | | Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/18812)
* check-format.pl: fix detection of missing/extra blank lines in local declsDr. David von Oheimb2022-07-201-2/+2
| | | | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18789)
* check_format.pl: Add checks for blank lines within/after local declsDr. David von Oheimb2022-01-091-7/+9
| | | | | Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17434)
* check-format.pl: Rename 'one-letter' to 'single-letter', do not report 'l'Dr. David von Oheimb2021-05-201-1/+1
| | | | | Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15077)
* check-format.pl: Allow extra space before end-of-line comments unless ↵Dr. David von Oheimb2021-05-201-1/+1
| | | | | | | -e|--eol-cmt given Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15077)
* check-format.pl: Report needless intermediate multiple SPC only on -e or ↵Dr. David von Oheimb2021-05-201-3/+3
| | | | | | | --extra-spc Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15077)
* check-format.pl: Add check for constant left of comparison operatorDr. David von Oheimb2021-05-201-2/+3
| | | | | Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15077)
* Update copyright yearRichard Levitte2021-01-281-1/+1
| | | | | Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13999)
* util/check-format.pl: Minor improvements of whitespace checksDr. David von Oheimb2021-01-191-1/+3
| | | | | Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13710)
* check-format.pl: Allow nested indentation of labels (not only at line pos 1)Dr. David von Oheimb2020-09-301-1/+2
| | | | | Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/13019)
* check-format.pl: Report empty lines only if -s (--sloppy-spc) is not usedDr. David von Oheimb2020-07-201-2/+2
| | | | | Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12270)
* check-format.pl: Add check for multiples essentially empty lines in a rowDr. David von Oheimb2020-07-201-202/+201
| | | | | Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12270)
* Update copyright yearMatt Caswell2020-04-231-1/+1
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11616)
* Renew and extend the tool for checking adherence to C coding style rulesDr. David von Oheimb2020-03-091-0/+345
aims at checking most of https://www.openssl.org/policies/codingstyle.html and various requirements not yet explicitly stated there - see also #10725 add util/check-format.pl and its self-tests in util/check-format-test-{positives,negatives}.c remove util/openssl-format-source Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/10363)