[PATCH] D144912: [clang-tidy] readability-identifier-naming: fix hungarian enum prefix in C

Alexis Murzeau via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 27 14:07:35 PST 2023


amurzeau updated this revision to Diff 500905.
amurzeau added a comment.

Update the release notes too, to notify of this changes with C files.

Suggest the user to use `EnumConstantPrefix` instead of
`EnumConstantHungarianPrefix` to keep the previous behavior of using `i` for
all enum tags.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144912/new/

https://reviews.llvm.org/D144912

Files:
  clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-hungarian-notation-c-language.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144912.500905.patch
Type: text/x-patch
Size: 32975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230227/b3a46b77/attachment-0001.bin>


More information about the cfe-commits mailing list