[PATCH] D144041: [clang-tidy] add primitive types for hungarian identifier-naming (unsigned char and void)

Alexis Murzeau via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 14 13:26:00 PST 2023


amurzeau created this revision.
amurzeau added reviewers: njames93, alexfh, kazu, dougpuob.
Herald added subscribers: carlosgalvezp, xazax.hun.
Herald added a project: All.
amurzeau requested review of this revision.
Herald added subscribers: cfe-commits, aheejin.
Herald added a project: clang-tools-extra.

Add `unsigned char` and `void` types to recognized PrimitiveTypes.
Fixes: #60670

Depends on D144037 <https://reviews.llvm.org/D144037>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144041

Files:
  clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/hungarian-notation2/.clang-tidy
  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: D144041.497423.patch
Type: text/x-patch
Size: 6447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230214/7a6ddf8d/attachment-0001.bin>


More information about the cfe-commits mailing list