[clang-tools-extra] 3c7df98 - [clang-tidy] Add missing colon in the docs of performance-enum-size (#144525)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 17 13:59:57 PDT 2025
Author: Piotr Idzik
Date: 2025-06-17T21:59:53+01:00
New Revision: 3c7df98c7b2a203e49a74b229bbf535c2ef6274b
URL: https://github.com/llvm/llvm-project/commit/3c7df98c7b2a203e49a74b229bbf535c2ef6274b
DIFF: https://github.com/llvm/llvm-project/commit/3c7df98c7b2a203e49a74b229bbf535c2ef6274b.diff
LOG: [clang-tidy] Add missing colon in the docs of performance-enum-size (#144525)
There is a syntax error in the provided code example - this PR fixes it.
I did a quick search - I could not find similar _typos_.
Added:
Modified:
clang-tools-extra/docs/clang-tidy/checks/performance/enum-size.rst
Removed:
################################################################################
diff --git a/clang-tools-extra/docs/clang-tidy/checks/performance/enum-size.rst b/clang-tools-extra/docs/clang-tidy/checks/performance/enum-size.rst
index f72b8c7eabc22..b7631139a0133 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/performance/enum-size.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/performance/enum-size.rst
@@ -34,7 +34,7 @@ dependent).
.. code-block:: c++
// AFTER
- enum Color : std:int8_t {
+ enum Color : std::int8_t {
RED = -1,
GREEN = 0,
BLUE = 1
More information about the cfe-commits
mailing list