summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/Configuration.py
diff options
context:
space:
mode:
authorFan, ZhijuX <zhijux.fan@intel.com>2019-02-18 14:23:30 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-02-19 20:32:42 +0800
commit7b6a8c9cf2a0c270565108e1bf4e79cc6468fb6f (patch)
treea8c144c441350bdae4af68ab4df59845a521aacf /BaseTools/Source/Python/Ecc/Configuration.py
parent9108039558b5e33c7ba07733b4665859e85109cd (diff)
downloadedk2-7b6a8c9cf2a0c270565108e1bf4e79cc6468fb6f.tar.gz
edk2-7b6a8c9cf2a0c270565108e1bf4e79cc6468fb6f.tar.bz2
edk2-7b6a8c9cf2a0c270565108e1bf4e79cc6468fb6f.zip
BaseTools:Fix a ECC issue
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1522 A property error occurred because the property of the function was not defined. a property is now redefined. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Configuration.py')
-rw-r--r--BaseTools/Source/Python/Ecc/Configuration.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Ecc/Configuration.py b/BaseTools/Source/Python/Ecc/Configuration.py
index c19a3990c7..66c8dd7880 100644
--- a/BaseTools/Source/Python/Ecc/Configuration.py
+++ b/BaseTools/Source/Python/Ecc/Configuration.py
@@ -193,6 +193,8 @@ class Configuration(object):
# Check if there is no trailing white space in one line.
self.GeneralCheckTrailingWhiteSpaceLine = 1
+ self.CFunctionLayoutCheckNoDeprecated = 1
+
## Space Checking
self.SpaceCheckAll = 1