diff options
author | Eric Dong <eric.dong@intel.com> | 2014-08-20 02:06:12 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-20 02:06:12 +0000 |
commit | 64fabae54bf39a3b164e911b9d3ff6985dc66036 (patch) | |
tree | a5b4a3907e7879b1c33123a7c99fd31f43e419dc /BaseTools | |
parent | 30cad98e5fc4dfff73486b5b9e420a0a0b7a1bed (diff) | |
download | edk2-64fabae54bf39a3b164e911b9d3ff6985dc66036.tar.gz edk2-64fabae54bf39a3b164e911b9d3ff6985dc66036.tar.bz2 edk2-64fabae54bf39a3b164e911b9d3ff6985dc66036.zip |
MdePkg: BaseOrderedCollectionRedBlackTreeLib: improve coding style
- The edk2 coding style prefers each variable declaration to stand on
its own line.
- Internal linkage (ie. STATIC) functions have caused problems with
source level debugging before, so we generally avoid STATIC in MdePkg.
- Even forward declarations of functions should carry full comment
blocks.
- Nullity checks in controlling expressions should be spelled out
explicitly, as (Ptr != NULL).
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15843 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools')
0 files changed, 0 insertions, 0 deletions