You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: address clang-tidy 17 errors
CI enables clang-tidy with -warnings-as-errors, and three checks
were failing the build:
- clang-analyzer-cplusplus.NewDeleteLeaks (24+ sites across
TokenEndpointImpl, IndexLayerClientImpl, VolatileLayerClientImpl,
VersionedLayerClientImpl, StreamLayerClientImpl): Every flagged
call path was traced end-to-end and contains zero raw new/delete;
ownership is shared_ptr/std::function throughout, so each site
is suppressed with NOLINTNEXTLINE
- clang-analyzer-deadcode.DeadStores (Crypto.cpp:171): ComputeSha256
mutated `value` via `>>=` when packing the last output byte, a
redundant shift whose result was never read; changed to
non-mutating `>>`.
- clang-analyzer-optin.cplusplus.VirtualCall (SignInResultImpl.cpp:95):
the constructor called virtual IsValid() instead of reading
is_valid_ directly
Resolves: DATASDK-104
Signed-off-by: Iwo Sidorowicz <iwo.sidorowicz@here.com>
* Minor: add clang-tidy job
Add clang-tidy 17 job to the pipeline
Resolves: DATASDK-104
Signed-off-by: Iwo Sidorowicz <iwo.sidorowicz@here.com>
* Minor: chmod fix
Chmod fix for clang-tidy script
Resolves: DATASDK-104
Signed-off-by: Iwo Sidorowicz <iwo.sidorowicz@here.com>
* Minor: reposition suppresion lines
Move each comment directly above the `[=](...)`.
Resolves: DATASDK-104
Signed-off-by: Iwo Sidorowicz <iwo.sidorowicz@here.com>
* Minor: revert formatting
Revert formatting
Resolves: DATASDK-104
Signed-off-by: Iwo Sidorowicz <iwo.sidorowicz@here.com>
* Minor: add copyrights
Add copyrights to the changed files.
Resolves: DATASDK-104
Signed-off-by: Iwo Sidorowicz <iwo.sidorowicz@here.com>
---------
Signed-off-by: Iwo Sidorowicz <iwo.sidorowicz@here.com>
0 commit comments