[openssl/openssl] 47b0e6: check-format.pl: improve preprocessor directive ha...

David von Oheimb noreply at github.com
Tue Mar 14 19:27:28 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 47b0e634e1513518a76c75d6931512be76a7a359
      https://github.com/openssl/openssl/commit/47b0e634e1513518a76c75d6931512be76a7a359
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M util/check-format.pl

  Log Message:
  -----------
  check-format.pl: improve preprocessor directive handling; re-order state variables

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18812)

(cherry picked from commit 87c8a476645a476a1fe5a99bf222792e93bb92f3)


  Commit: b5e7dd3be3c624dde92647620cec00f6b2b35a5e
      https://github.com/openssl/openssl/commit/b5e7dd3be3c624dde92647620cec00f6b2b35a5e
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M util/check-format-test-negatives.c
    M util/check-format-test-positives.c
    M util/check-format.pl

  Log Message:
  -----------
  check-format.pl: extend checking into macro bodies; small further improvements

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18812)

(cherry picked from commit 1fb20f1d210d57520f4c91c707fc9a1eded0daa4)


  Commit: 8299d7879d3dea724839f2cc50e980ae2375f094
      https://github.com/openssl/openssl/commit/8299d7879d3dea724839f2cc50e980ae2375f094
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M util/check-format-test-negatives.c
    M util/check-format-test-positives.c
    M util/check-format.pl

  Log Message:
  -----------
  check-format.pl: report #if and #elif with constant condition; improve checks on '/*'

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18812)

(cherry picked from commit bdb41f92420981928578167cc6db3bcbac206cea)


  Commit: b6a3fa3e735273696894d39b1183687a0cd214b6
      https://github.com/openssl/openssl/commit/b6a3fa3e735273696894d39b1183687a0cd214b6
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M util/check-format-test-negatives.c
    M util/check-format-test-positives.c
    M util/check-format.pl

  Log Message:
  -----------
  check-format.pl: further fixes for whitespace reporting within 'for (...)'

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18812)

(cherry picked from commit f968648ef7e39230ee5def1baf212e7fd98fe67f)


  Commit: 70b6fcb84370d1fb706963b7777805122721f77b
      https://github.com/openssl/openssl/commit/70b6fcb84370d1fb706963b7777805122721f77b
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M util/check-format-test-negatives.c
    M util/check-format-test-positives.c
    M util/check-format.pl

  Log Message:
  -----------
  check-format.pl: improve whitespace reporting on <op>=

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18812)

(cherry picked from commit 295ecb1600c52cbed3aad859b0bfd16966abe0e6)


  Commit: f11bd3795cc824409ba459d07874f9f7d26c1d8b
      https://github.com/openssl/openssl/commit/f11bd3795cc824409ba459d07874f9f7d26c1d8b
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M util/check-format.pl

  Log Message:
  -----------
  check-format.pl: fix detection of function body start

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/20254)

(cherry picked from commit a49ade26324423fdf6eed4083a71f44e8a17754f)


  Commit: a2a895fb5b9abd906f5151c2dc96cd9b24757acb
      https://github.com/openssl/openssl/commit/a2a895fb5b9abd906f5151c2dc96cd9b24757acb
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M util/check-format.pl

  Log Message:
  -----------
  check-format.pl: fix detection of '#ifdef __cplusplus'

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/20254)

(cherry picked from commit d327f7c4ad2fe19bb6e69818dc540f8ae7c37a39)


  Commit: 3868c7707d38e2e52a0ab2036df0f29f72c6e2c0
      https://github.com/openssl/openssl/commit/3868c7707d38e2e52a0ab2036df0f29f72c6e2c0
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M util/check-format.pl

  Log Message:
  -----------
  check-format.pl: fix statistics on whitespace and nesting issues

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
(Merged from https://github.com/openssl/openssl/pull/20254)

(cherry picked from commit 2bdc60cbe9e6baa37d6fa68e80c024d23c050528)


Compare: https://github.com/openssl/openssl/compare/28b69c9b4cf4...3868c7707d38


More information about the openssl-commits mailing list