[PATCH] D147779: [clang-tidy] Fix hungarian notation failed to indicate the number of asterisks in check-clang-extra-clang-tidy-checkers-readability
Douglas Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 7 03:31:46 PDT 2023
dougpuob created this revision.
Herald added subscribers: PiotrZSL, carlosgalvezp, xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
dougpuob requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
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'
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D147779
Files:
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147779.511656.patch
Type: text/x-patch
Size: 6298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230407/f74758f1/attachment.bin>
More information about the cfe-commits
mailing list