[PATCH] D144422: [clang-tidy] update docs for new hungarian identifier-naming types (unsigned char and void)
Alexis Murzeau via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 20 11:51:42 PST 2023
amurzeau created this revision.
amurzeau added reviewers: njames93, alexfh, kazu, dougpuob, aaron.ballman, carlosgalvezp.
Herald added a subscriber: xazax.hun.
Herald added a project: All.
amurzeau requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Since 37e6a4f9496c8e35efc654d7619a79d6dbb72f99 <https://reviews.llvm.org/rG37e6a4f9496c8e35efc654d7619a79d6dbb72f99>, `void` and
`unsigned char` were added to primitive types for hungarian notation.
This commit adds them to the documentation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D144422
Files:
clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
Index: clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
===================================================================
--- clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
+++ clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
@@ -2541,15 +2541,15 @@
double d unsigned short int usi ULONG ul
char c unsigned short us ULONG32 ul32
bool b unsigned int ui ULONG64 ul64
-_Bool b unsigned u ULONGLONG ull
-int i long long int lli HANDLE h
-size_t n long double ld INT i
-short s long long ll INT8 i8
-signed i long int li INT16 i16
-unsigned u long l INT32 i32
-long l ptrdiff_t p INT64 i64
-long long ll UINT ui
-unsigned long ul UINT8 u8
+_Bool b unsigned char uc ULONGLONG ull
+int i unsigned u HANDLE h
+size_t n long long int lli INT i
+short s long double ld INT8 i8
+signed i long long ll INT16 i16
+unsigned u long int li INT32 i32
+long l long l INT64 i64
+long long ll ptrdiff_t p UINT ui
+unsigned long ul void *none* UINT8 u8
long double ld UINT16 u16
ptrdiff_t p UINT32 u32
wchar_t wc UINT64 u64
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144422.498923.patch
Type: text/x-patch
Size: 2431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230220/cceb7b57/attachment.bin>
More information about the cfe-commits
mailing list