Author: Alexis Murzeau
Date: 2023-02-21T07:37:42Z
New Revision: dc43f7107e2916035b3503a10977182b03203046

URL: 
https://github.com/llvm/llvm-project/commit/dc43f7107e2916035b3503a10977182b03203046
DIFF: 
https://github.com/llvm/llvm-project/commit/dc43f7107e2916035b3503a10977182b03203046.diff

LOG: [clang-tidy] update docs for new hungarian identifier-naming types 
(unsigned char and void)

Since 37e6a4f9496c8e35efc654d7619a79d6dbb72f99, `void` and
`unsigned char` were added to primitive types for hungarian notation.

This commit adds them to the documentation.

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D144422

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst

Removed: 
    


################################################################################
diff  --git 
a/clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst 
b/clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
index efb01fe95ef2d..3f98ed73dd953 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
@@ -2541,15 +2541,15 @@ float             f              unsigned long          
ul             LONG
 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              ptr
diff _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             ptr
diff _t              p              UINT        ui
+unsigned long     ul             void                   *none*         UINT8   
    u8
 long double       ld                                                   UINT16  
    u16
 ptr
diff _t         p                                                    UINT32     
 u32
 wchar_t           wc                                                   UINT64  
    u64


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to