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

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


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

None

>From b42fda1b00f2f5ca8ae312cf0d372e04582c5e4b Mon Sep 17 00:00:00 2001
From: Thomas Applencourt <TApplencourt at users.noreply.github.com>
Date: Tue, 21 May 2024 13:00:37 -0500
Subject: [PATCH] Fix Typo on cindex.py

---
 clang/bindings/python/clang/cindex.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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"),



More information about the cfe-commits mailing list