commit | 4180d4de9a9cd5cd3b8935f4e70243a6263e8c60 | [log] [tgz] |
---|---|---|
author | Ted Pudlik <tpudlik@google.com> | Thu Oct 28 00:07:29 2021 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 28 22:20:23 2021 +0000 |
tree | 0a1993b57d41e3d79705fc3a353f29c29b4bfa0f | |
parent | 247595e43680a33f2a686d4aaad5afae4144fc60 [diff] |
clang-tidy: readability-inconsistent-declaration-parameter-name This check verifies that the parameter names used in the function declarations and definitions match. The fix involves changing either the declaration or the definition; I chose to do one or the other on a case by case basis. My guiding principles were (1) use the same names for the same parameter in different functions in the same header, and (2) generally prefer to retain the name in the header over that in the source file (since it's more public), especially if that name also appears in a documenting comment on the function. Bug: 45 No-Docs-Update-Reason: clang-tidy change only. Change-Id: I1f1c8b421923e0ef692086138ea8df0a7d5d11c3 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/66640 Reviewed-by: Ewout van Bekkum <ewout@google.com> Commit-Queue: Ted Pudlik <tpudlik@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/