[clang] Fix Typo on cindex.py (PR #92945)

via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 11:01:58 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Thomas Applencourt (TApplencourt)

<details>
<summary>Changes</summary>



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


1 Files Affected:

- (modified) clang/bindings/python/clang/cindex.py (+2-2) 


``````````diff
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py
index 302d99dccd77b..2e20821b5f26d 100644
--- a/clang/bindings/python/clang/cindex.py
+++ b/clang/bindings/python/clang/cindex.py
@@ -865,7 +865,7 @@ def __repr__(self):
 # template parameter, or class template partial specialization.
 CursorKind.TEMPLATE_REF = CursorKind(45)
 
-# A reference to a namespace or namepsace alias.
+# A reference to a namespace or namespace alias.
 CursorKind.NAMESPACE_REF = CursorKind(46)
 
 # A reference to a member of a struct, union, or class that occurs in
@@ -2769,7 +2769,7 @@ class _CXUnsavedFile(Structure):
 
 
 # Functions calls through the python interface are rather slow. Fortunately,
-# for most symboles, we do not need to perform a function call. Their spelling
+# for most symbols, we do not need to perform a function call. Their spelling
 # never changes and is consequently provided by this spelling cache.
 SpellingCache = {
     # 0: CompletionChunk.Kind("Optional"),

``````````

</details>


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


More information about the cfe-commits mailing list