commit | cfaf0837d8efcadb4abc886b6cabb4d08b85f754 | [log] [tgz] |
---|---|---|
author | Pavithra Barithaya <pavithrabarithaya07@gmail.com> | Thu Jul 04 14:58:18 2024 +0530 |
committer | Pavithra Barithaya <pavithrabarithaya07@gmail.com> | Thu Jul 11 15:42:12 2024 +0000 |
tree | 51f61c4570c75ca8ca2a1dbab6e9ee6e0292d362 | |
parent | c5f6e7e1c645281c8af50814f20e9c89dde9156c [diff] |
clang-tidy: Enable a clang-analyzer and readability check This commit enables clang-analyzer-deadcode.DeadStores check which indicates that there are variables in your code that are assigned values but are never used beyond that assignment. The readability-static-accessed-through-instance check verifies when a static member of a class is accessed through an instance of that class rather than through the class itself. But here this check is capturing an error on "serviceName" even when the member is a constant and not a static member. So just ignoring this check in the function. Change-Id: I18b60a0800870ac8394f5a0754fbbac0cfd18c36 Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.