[clang-tidy] Fix hungarian notation failed to indicate the number of asterisks in...
authorDouglas Chen <dougpuob@gmail.com>
Tue, 11 Apr 2023 06:10:57 +0000 (06:10 +0000)
committerPiotr Zegar <me@piotrzegar.pl>
Tue, 11 Apr 2023 06:43:07 +0000 (06:43 +0000)
commit65d20e3296909169405f9286d2a2177a42789e06
tree345357bae2d6db41e6793a95da9864d349ad69fc
parent213b7358941514e36f21c79e07b1b810893f9271
[clang-tidy] Fix hungarian notation failed to indicate the number of asterisks in check-clang-extra-clang-tidy-checkers-readability

Fix hungarian notation failed to indicate the number of asterisks for the pointers of multiple word types.

- WRONG: `unsigned char* value`  : `value` --> `ucValue`
- RIGHT: `unsigned cahr* value`  : `value`  --> `pucValue`
- RIGHT: `unsigned char** value` : `value`  --> `ppucValue`

Reviewed By: amurzeau, PiotrZSL

Differential Revision: https://reviews.llvm.org/D147779
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-hungarian-notation-c-language.c
clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-hungarian-notation-cfgfile.cpp
clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-hungarian-notation.cpp