[clang-tools-extra] 9322216 - [clang-tidy][DOC] Fix 'table cell spanning'

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 21 03:30:56 PDT 2023


Author: Piotr Zegar
Date: 2023-10-21T10:30:06Z
New Revision: 9322216021f1d8241b87a81c12321b05aa6d1cfb

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

LOG: [clang-tidy][DOC] Fix 'table cell spanning'

Change current tables to avoid cell spanning.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/clang-tidy/Integrations.rst b/clang-tools-extra/docs/clang-tidy/Integrations.rst
index 8f3f5a31274e8af..7104944120a934e 100644
--- a/clang-tools-extra/docs/clang-tidy/Integrations.rst
+++ b/clang-tools-extra/docs/clang-tidy/Integrations.rst
@@ -15,7 +15,7 @@ The following table shows the most well-known :program:`clang-tidy`
 integrations in detail.
 
 +--------------------------------------+------------------------+---------------------------------+--------------------------+-----------------------------------------+--------------------------+
-|                                      |        Feature                                                                                                                                           |
+|                                      |        Feature         |                                 |                          |                                         |                          |
 +======================================+========================+=================================+==========================+=========================================+==========================+
 |  **Tool**                            | On-the-fly inspection  | Check list configuration (GUI)  | Options to checks (GUI)  | Configuration via ``.clang-tidy`` files | Custom clang-tidy binary |
 +--------------------------------------+------------------------+---------------------------------+--------------------------+-----------------------------------------+--------------------------+

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 467968ce43faea7..608bc2acdc0d5e5 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
@@ -2526,41 +2526,41 @@ Otherwise the case of this character denotes scope.
 The following table is the default mapping table of Hungarian Notation which
 maps Decl to its prefix string. You can also have your own style in config file.
 
-================= ============== ====================== ============== =========== ==============
-Primitive Types                                                        Microsoft data types
----------------------------------------------------------------------- --------------------------
-    Type          Prefix         Type                   Prefix         Type        Prefix
-================= ============== ====================== ============== =========== ==============
-int8_t            i8             signed int             si             BOOL        b
-int16_t           i16            signed short           ss             BOOLEAN     b
-int32_t           i32            signed short int       ssi            BYTE        by
-int64_t           i64            signed long long int   slli           CHAR        c
-uint8_t           u8             signed long long       sll            UCHAR       uc
-uint16_t          u16            signed long int        sli            SHORT       s
-uint32_t          u32            signed long            sl             USHORT      us
-uint64_t          u64            signed                 s              WORD        w
-char8_t           c8             unsigned long long int ulli           DWORD       dw
-char16_t          c16            unsigned long long     ull            DWORD32     dw32
-char32_t          c32            unsigned long int      uli            DWORD64     dw64
-float             f              unsigned long          ul             LONG        l
-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 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
-short int         si                                                   PVOID       p
+================= ============== ====================== ============== ============== ==============
+Primitive Type                                                         Microsoft Type
+----------------- -------------- ---------------------- -------------- -------------- --------------
+    Type          Prefix         Type                   Prefix         Type           Prefix
+================= ============== ====================== ============== ============== ==============
+int8_t            i8             signed int             si             BOOL           b
+int16_t           i16            signed short           ss             BOOLEAN        b
+int32_t           i32            signed short int       ssi            BYTE           by
+int64_t           i64            signed long long int   slli           CHAR           c
+uint8_t           u8             signed long long       sll            UCHAR          uc
+uint16_t          u16            signed long int        sli            SHORT          s
+uint32_t          u32            signed long            sl             USHORT         us
+uint64_t          u64            signed                 s              WORD           w
+char8_t           c8             unsigned long long int ulli           DWORD          dw
+char16_t          c16            unsigned long long     ull            DWORD32        dw32
+char32_t          c32            unsigned long int      uli            DWORD64        dw64
+float             f              unsigned long          ul             LONG           l
+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 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
+short int         si                                                   PVOID          p
 short             s
-================= ============== ====================== ============== =========== ==============
+================= ============== ====================== ============== ============== ==============
 
 **There are more trivial options for Hungarian Notation:**
 


        


More information about the cfe-commits mailing list