llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability-named-parameter...

17 lines
477 B
ReStructuredText

.. title:: clang-tidy - readability-named-parameter
readability-named-parameter
===========================
Find functions with unnamed arguments.
The check implements the following rule originating in the Google C++ Style
Guide:
https://google.github.io/styleguide/cppguide.html#Function_Declarations_and_Definitions
All parameters should be named, with identical names in the declaration and
implementation.
Corresponding cpplint.py check name: `readability/function`.