From 32870da3ba38ab0ab0710867d92465aacc6349e6 Mon Sep 17 00:00:00 2001 From: Chris Cotter Date: Sun, 13 Aug 2023 23:46:44 -0700 Subject: [PATCH] Fix typos in documentation --- clang-tools-extra/docs/ReleaseNotes.rst | 2 +- .../docs/clang-tidy/checks/modernize/use-std-print.rst | 2 +- clang/docs/analyzer/checkers.rst | 2 +- libc/docs/contributing.rst | 2 +- libcxx/docs/Modules.rst | 2 +- llvm/docs/CommandGuide/llvm-symbolizer.rst | 2 +- llvm/docs/FatLTO.rst | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index 122ec5fe6e0d..46cda6a8caf1 100644 --- a/clang-tools-extra/docs/ReleaseNotes.rst +++ b/clang-tools-extra/docs/ReleaseNotes.rst @@ -196,7 +196,7 @@ Changes in existing checks - Improved :doc:`misc-include-cleaner ` check by adding option - `DeduplicateFindings` to output one finding per symbol occurence. + `DeduplicateFindings` to output one finding per symbol occurrence. - Improved :doc:`modernize-loop-convert ` to support for-loops with diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst index 378caccf611b..9bb691e9d951 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst @@ -81,7 +81,7 @@ If the call is deemed suitable for conversion then: is of ``signed char`` or ``unsigned char`` type are wrapped in a ``reinterpret_cast``. - any arguments where the format string and the parameter differ in - signedness will be wrapped in an approprate ``static_cast`` if `StrictMode` + signedness will be wrapped in an appropriate ``static_cast`` if `StrictMode` is enabled. - any arguments that end in a call to ``std::string::c_str()`` or ``std::string::data()`` will have that call removed. diff --git a/clang/docs/analyzer/checkers.rst b/clang/docs/analyzer/checkers.rst index b7860af80c20..98cf799ae462 100644 --- a/clang/docs/analyzer/checkers.rst +++ b/clang/docs/analyzer/checkers.rst @@ -2499,7 +2499,7 @@ and add the `csa_mark_sanitized` function. Then calling `csa_mark_sanitized(X)` will tell the analyzer that `X` is safe to be used after this point, because its contents are verified. It is the -responisibility of the programmer to ensure that this verification was indeed +responsibility of the programmer to ensure that this verification was indeed correct. Please note that `csa_mark_sanitized` function is only declared and used during Clang Static Analysis and skipped in (production) builds. diff --git a/libc/docs/contributing.rst b/libc/docs/contributing.rst index 7f02630145eb..50151348f880 100644 --- a/libc/docs/contributing.rst +++ b/libc/docs/contributing.rst @@ -13,7 +13,7 @@ a list of open projects that one can start with: `LLVM style `_ but differs in a few aspects: We use ``snake_case`` for non-constant variable and function names,``CamelCase`` for internal type names (those which are not defined in a - public header), and ``CAPITILIZED_SNAKE_CASE`` for constants. When we started + public header), and ``CAPITALIZED_SNAKE_CASE`` for constants. When we started working on the project, we started using the general LLVM style for everything. However, for a short period, we switched to the style that is currently followed by the `LLD project `_. diff --git a/libcxx/docs/Modules.rst b/libcxx/docs/Modules.rst index 504ec98db852..f5efb454994a 100644 --- a/libcxx/docs/Modules.rst +++ b/libcxx/docs/Modules.rst @@ -7,7 +7,7 @@ Modules in libc++ .. warning:: Modules are an experimental feature. It has additional build requirements and not all libc++ configurations are supported yet. - The work is still in an early developement state and not + The work is still in an early development state and not considered stable nor complete This page contains information regarding C++23 module support in libc++. diff --git a/llvm/docs/CommandGuide/llvm-symbolizer.rst b/llvm/docs/CommandGuide/llvm-symbolizer.rst index fa4f2a0da341..d058cde98f1b 100644 --- a/llvm/docs/CommandGuide/llvm-symbolizer.rst +++ b/llvm/docs/CommandGuide/llvm-symbolizer.rst @@ -268,7 +268,7 @@ OPTIONS ``#[.]
:: (+)`` ```` provides frame numbers for calls inlined into the caller - coresponding to ````. The inlined call numbers start at 1 and increase + corresponding to ````. The inlined call numbers start at 1 and increase from callee to caller. ``
`` is an address inside the call instruction to the function. The diff --git a/llvm/docs/FatLTO.rst b/llvm/docs/FatLTO.rst index 5773a30b7ae4..b505bb2a96fe 100644 --- a/llvm/docs/FatLTO.rst +++ b/llvm/docs/FatLTO.rst @@ -67,7 +67,7 @@ extending support to other linkers isn't planned for now. .. NOTE For standard linking the fat object files should be usable by any linker capable of using ELF objects, since the ``.llvm.lto`` section is - marked ``SHF_EXLUDE``. + marked ``SHF_EXCLUDE``. Supported File Formats ----------------------