]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/Ecc: Make Ecc only check first include guard
authorPierre Gondois <Pierre.Gondois@arm.com>
Wed, 17 Mar 2021 09:59:37 +0000 (17:59 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 18 Mar 2021 02:04:18 +0000 (02:04 +0000)
commitce6c2b0016c2f68b6008acea1f24ed966b647147
tree1e4db648585f633a3ee74083f1fba653aab3f8a0
parent313d86c956d4599054a9dcd524668f67797d317a
BaseTools/Ecc: Make Ecc only check first include guard

The Ecc tool checks the format of the include guard. This check is
currently done on all the names following the '#ifndef' statement.
It should only be done on the first include guard.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3252
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/Ecc/Check.py