]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/Configuration.py
BaseTools/ECC: Add a checkpoint to check no usage for deprecated functions.
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / Configuration.py
index c19a3990c74e113855d37747f2f4dc4bdc9efca7..8f6886169c7c0081383eda06223da3daf8ffee47 100644 (file)
@@ -34,6 +34,7 @@ _ConfigFileToInternalTranslation = {
     "CFunctionLayoutCheckFunctionBody":"CFunctionLayoutCheckFunctionBody",\r
     "CFunctionLayoutCheckFunctionName":"CFunctionLayoutCheckFunctionName",\r
     "CFunctionLayoutCheckFunctionPrototype":"CFunctionLayoutCheckFunctionPrototype",\r
+    "CFunctionLayoutCheckNoDeprecated":"CFunctionLayoutCheckNoDeprecated",\r
     "CFunctionLayoutCheckNoInitOfVariable":"CFunctionLayoutCheckNoInitOfVariable",\r
     "CFunctionLayoutCheckNoStatic":"CFunctionLayoutCheckNoStatic",\r
     "CFunctionLayoutCheckOptionalFunctionalModifier":"CFunctionLayoutCheckOptionalFunctionalModifier",\r
@@ -242,6 +243,8 @@ class Configuration(object):
         self.CFunctionLayoutCheckNoInitOfVariable = 1\r
         # Check whether no use of STATIC for functions\r
         self.CFunctionLayoutCheckNoStatic = 1\r
+        # Check whether no use of Deprecated functions\r
+        self.CFunctionLayoutCheckNoDeprecated = 1\r
 \r
         ## Include Files Checking\r
         self.IncludeFileCheckAll = 0\r