[clang-tools-extra] 8683b2f - [clang-tody] Fix typos in documentation
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Thu May 25 22:56:20 PDT 2023
Author: Kazu Hirata
Date: 2023-05-25T22:56:06-07:00
New Revision: 8683b2f1a9a1cb899345452dba097dd1d37efd17
URL: https://github.com/llvm/llvm-project/commit/8683b2f1a9a1cb899345452dba097dd1d37efd17
DIFF: https://github.com/llvm/llvm-project/commit/8683b2f1a9a1cb899345452dba097dd1d37efd17.diff
LOG: [clang-tody] Fix typos in documentation
Added:
Modified:
clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst
clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/prefer-member-initializer.rst
Removed:
################################################################################
diff --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst
index 8a11924c465dd..658b6555f1a1c 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst
@@ -20,7 +20,7 @@ Checked signal handler rules for up to and including C++14:
The check is disabled on C++17 and later.
-Asnychronous-safety is determined by comparing the function's name against a set
+Asynchronous-safety is determined by comparing the function's name against a set
of known functions. In addition, the function must come from a system header
include and in a global namespace. The (possible) arguments passed to the
function are not checked. Any function that cannot be determined to be
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/prefer-member-initializer.rst b/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/prefer-member-initializer.rst
index 803cdbd64edb8..7381111b6736e 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/prefer-member-initializer.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/prefer-member-initializer.rst
@@ -28,7 +28,7 @@ see check `modernize-use-default-member-init <../modernize/use-default-member-in
Enforcement of rule C.48 in this check is deprecated, to be removed in
:program:`clang-tidy` version 19 (only C.49 will be enforced by this check then).
Please use `cppcoreguidelines-use-default-member-init <../cppcoreguidelines/use-default-member-init.html>`_
- to enfoce rule C.48.
+ to enforce rule C.48.
Example 1
---------
More information about the cfe-commits
mailing list