diff options
author | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
commit | b8b9458165ad22218c8d864a623bd23847d4807a (patch) | |
tree | bdb43c773d7cea723e8c80b4d0c11a7b8b93a619 /bindings | |
parent | 0a1726abd9544637fd9015e68b6638a552533649 (diff) | |
download | clang-b8b9458165ad22218c8d864a623bd23847d4807a.tar.gz |
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
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/python/clang/cindex.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |