diff options
author | Roman Stratiienko <r.stratiienko@gmail.com> | 2021-02-15 13:44:19 +0200 |
---|---|---|
committer | Roman Stratiienko <r.stratiienko@gmail.com> | 2021-03-03 16:12:22 +0200 |
commit | b3b5c1e937d6bbbd44b65f5c36305bdc8fbb3246 (patch) | |
tree | 5049e1aa7f8ab0918d3c84e6150ad3555618d4eb /drm/DrmPlane.h | |
parent | 6a10c4ce1f5601051c44b0f0cd85b1059e0a1bba (diff) | |
download | drm_hwcomposer-b3b5c1e937d6bbbd44b65f5c36305bdc8fbb3246.tar.gz |
drm_hwcomposer: clang-tidy: enable cppcoreguidelines-* checks
Our code isn't ready for the following checks therefore keep disabled
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
-cppcoreguidelines-pro-bounds-constant-array-index
-cppcoreguidelines-pro-bounds-pointer-arithmetic
-cppcoreguidelines-pro-type-cstyle-cast
-cppcoreguidelines-pro-type-vararg
-cppcoreguidelines-avoid-magic-numbers
-cppcoreguidelines-macro-usage
-cppcoreguidelines-avoid-c-arrays
+ fixed existing tidy warnings for these checks.
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Diffstat (limited to 'drm/DrmPlane.h')
-rw-r--r-- | drm/DrmPlane.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/DrmPlane.h b/drm/DrmPlane.h index 7a915cc..2e2c121 100644 --- a/drm/DrmPlane.h +++ b/drm/DrmPlane.h @@ -70,7 +70,7 @@ class DrmPlane { uint32_t possible_crtc_mask_; - uint32_t type_; + uint32_t type_{}; std::vector<uint32_t> formats_; |