[clang-tools-extra] Fix spelling error crtp-constructor-accessibility.rst (PR #139307)

via cfe-commits cfe-commits at lists.llvm.org
Fri May 9 11:48:25 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-tidy

Author: Bart Louwers (louwers)

<details>
<summary>Changes</summary>

it's = it has, which is not correct here.

---
Full diff: https://github.com/llvm/llvm-project/pull/139307.diff


1 Files Affected:

- (modified) clang-tools-extra/docs/clang-tidy/checks/bugprone/crtp-constructor-accessibility.rst (+1-1) 


``````````diff
diff --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone/crtp-constructor-accessibility.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone/crtp-constructor-accessibility.rst
index afd88764b5967..07d7e68fddc47 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/bugprone/crtp-constructor-accessibility.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone/crtp-constructor-accessibility.rst
@@ -9,7 +9,7 @@ can be constructed outside itself and the derived class.
 The CRTP is an idiom, in which a class derives from a template class, where 
 itself is the template argument. It should be ensured that if a class is
 intended to be a base class in this idiom, it can only be instantiated if
-the derived class is it's template argument.
+the derived class is its template argument.
 
 Example:
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/139307


More information about the cfe-commits mailing list