edk2/BaseTools/Source/Python/Ecc
Michael Kubacki 5ce48c03cb BaseTools/Ecc: Remove #ifndef include guard checks
The codebase has moved from traditional `#ifndef` include guards to
`#pragma once`. Remove the ECC checks that validated include guard
presence and naming conventions since they are no longer applicable.

The following checks are removed:

- IncludeFileCheckIfndefStatement: Verified all header file contents
  were guarded by a `#ifndef` statement, that the `#ifndef` was the
  first line of code after the file header comment, and that the
  `#endif` appeared on the last line.

- NamingConventionCheckIfndefStatement: Verified that the `#ifndef`
  guard name at the start of an include file used a postfix underscore
  and no prefix underscore character.

Also removed related error codes and configuration settings that were
specific to these checks.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2026-02-23 21:01:28 +00:00
..
CParser3 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CParser4 BaseTools: Remove unused import 2025-07-01 09:51:38 +08:00
MetaFileWorkspace BaseTools: Ecc: Remove unnecessary code 2025-07-01 09:51:38 +08:00
Xml BaseTools: Ecc: Remove unnecessary code 2025-07-01 09:51:38 +08:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
C.g BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
c.py BaseTools/Ecc: Remove #ifndef include guard checks 2026-02-23 21:01:28 +00:00
Check.py BaseTools/Ecc: Remove #ifndef include guard checks 2026-02-23 21:01:28 +00:00
CodeFragment.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CodeFragmentCollector.py BaseTools: Ecc: Remove unnecessary code 2025-07-01 09:51:38 +08:00
config.ini BaseTools/Ecc: Remove #ifndef include guard checks 2026-02-23 21:01:28 +00:00
Configuration.py BaseTools/Ecc: Remove #ifndef include guard checks 2026-02-23 21:01:28 +00:00
Database.py BaseTools: Ecc: Remove unnecessary code 2025-07-01 09:51:38 +08:00
EccGlobalData.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
EccMain.py BaseTools: Clean up os.path.normcase and os.path.normpath usage 2025-01-09 07:25:45 +00:00
EccToolError.py BaseTools/Ecc: Remove #ifndef include guard checks 2026-02-23 21:01:28 +00:00
Exception.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
exception.xml BaseTools: Ecc/exception: Added _ModuleEntryPoint into exception list 2021-02-01 10:01:02 -08:00
FileProfile.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MetaDataParser.py BaseTools/Ecc: Fix ECC check MetaFile Copyright information issue 2020-10-27 06:50:06 +00:00
ParserWarning.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00