MasterCopy8GB updated this revision to Diff 553294. MasterCopy8GB added a comment.
Update documentation CHANGES SINCE LAST ACTION https://reviews.llvm.org/D158787/new/ https://reviews.llvm.org/D158787 Files: clang-tools-extra/docs/ReleaseNotes.rst 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 @@ -17,7 +17,8 @@ - ``CamelCase``, - ``camel_Snake_Back``, - ``Camel_Snake_Case``, - - ``aNy_CasE``. + - ``aNy_CasE``, + - ``Leading_upper_snake_case``. It also supports a fixed prefix and suffix that will be prepended or appended to the identifiers, regardless of the casing. @@ -2099,7 +2100,7 @@ For example using values of: - - StructCase of ``lower_case`` + - StructCase of ``Leading_upper_snake_case`` - StructPrefix of ``pre_`` - StructSuffix of ``_post`` @@ -2118,9 +2119,9 @@ .. code-block:: c++ - struct pre_foo_post { - pre_foo_post(); - ~pre_foo_post(); + struct pre_Foo_post { + pre_Foo_post(); + ~pre_Foo_post(); }; .. option:: TemplateParameterCase Index: clang-tools-extra/docs/ReleaseNotes.rst =================================================================== --- clang-tools-extra/docs/ReleaseNotes.rst +++ clang-tools-extra/docs/ReleaseNotes.rst @@ -113,6 +113,10 @@ - Improved `--dump-config` to print check options in alphabetical order. +- Improved :doc:`readability-identifier-naming + <clang-tidy/checks/readability/IdentifierNamingCheck>` check to allow for + Leading_upper_snake_case naming convention. + New checks ^^^^^^^^^^
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 @@ -17,7 +17,8 @@ - ``CamelCase``, - ``camel_Snake_Back``, - ``Camel_Snake_Case``, - - ``aNy_CasE``. + - ``aNy_CasE``, + - ``Leading_upper_snake_case``. It also supports a fixed prefix and suffix that will be prepended or appended to the identifiers, regardless of the casing. @@ -2099,7 +2100,7 @@ For example using values of: - - StructCase of ``lower_case`` + - StructCase of ``Leading_upper_snake_case`` - StructPrefix of ``pre_`` - StructSuffix of ``_post`` @@ -2118,9 +2119,9 @@ .. code-block:: c++ - struct pre_foo_post { - pre_foo_post(); - ~pre_foo_post(); + struct pre_Foo_post { + pre_Foo_post(); + ~pre_Foo_post(); }; .. option:: TemplateParameterCase Index: clang-tools-extra/docs/ReleaseNotes.rst =================================================================== --- clang-tools-extra/docs/ReleaseNotes.rst +++ clang-tools-extra/docs/ReleaseNotes.rst @@ -113,6 +113,10 @@ - Improved `--dump-config` to print check options in alphabetical order. +- Improved :doc:`readability-identifier-naming + <clang-tidy/checks/readability/IdentifierNamingCheck>` check to allow for + Leading_upper_snake_case naming convention. + New checks ^^^^^^^^^^
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits