[clang-tools-extra] [clang-tidy NFC] Fix a typo in docs for sizeof-expression (PR #88912)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 08:19:50 PDT 2024


https://github.com/NagyDonat created https://github.com/llvm/llvm-project/pull/88912

"Till heaven and earth pass, one jot, or one tittle shall not pass of the law"

>From 79a551039394adef9a78e6fb7366d45c9bc65126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Don=C3=A1t=20Nagy?= <donat.nagy at ericsson.com>
Date: Tue, 16 Apr 2024 17:04:21 +0200
Subject: [PATCH] [clang-tidy NFC] Fix a typo in docs for sizeof-expression

"Till heaven and earth pass, one jot, or one tittle shall not pass of
the law"
---
 .../docs/clang-tidy/checks/bugprone/sizeof-expression.rst       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
index a3e88b837d3758..c37df1706eb4e1 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
@@ -190,6 +190,6 @@ Options
 
 .. option:: WarnOnSizeOfPointerToAggregate
 
-   When `true, the check will warn on an expression like
+   When `true`, the check will warn on an expression like
    ``sizeof(expr)`` where the expression is a pointer
    to aggregate. Default is `true`.



More information about the cfe-commits mailing list