From b8b9458165ad22218c8d864a623bd23847d4807a Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Fri, 6 Apr 2018 15:14:32 +0000 Subject: Fix typos in clang Found via codespell -q 3 -I ../clang-whitelist.txt Where whitelist consists of: archtype cas classs checkk compres definit frome iff inteval ith lod methode nd optin ot pres statics te thru Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few files that have dubious fixes reverted.) Differential revision: https://reviews.llvm.org/D44188 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329399 91177308-0d34-0410-b5e6-96231b3b80d8 --- bindings/python/clang/cindex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings') diff --git a/bindings/python/clang/cindex.py b/bindings/python/clang/cindex.py index b53661a4d0..043b5fb37d 100644 --- a/bindings/python/clang/cindex.py +++ b/bindings/python/clang/cindex.py @@ -881,7 +881,7 @@ CursorKind.INVALID_CODE = CursorKind(73) CursorKind.UNEXPOSED_EXPR = CursorKind(100) # An expression that refers to some value declaration, such as a function, -# varible, or enumerator. +# variable, or enumerator. CursorKind.DECL_REF_EXPR = CursorKind(101) # An expression that refers to a member of a struct, union, class, Objective-C @@ -1501,7 +1501,7 @@ class Cursor(Structure): return conf.lib.clang_getCursorDefinition(self) def get_usr(self): - """Return the Unified Symbol Resultion (USR) for the entity referenced + """Return the Unified Symbol Resolution (USR) for the entity referenced by the given cursor (or None). A Unified Symbol Resolution (USR) is a string that identifies a -- cgit v1.2.1