mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-01 14:46:26 +00:00
[cindex.py]: Use spaces instead of tabs
The tabs slipped in accidentally. llvm-svn: 172934
This commit is contained in:
parent
3da6507c41
commit
44d7b4f6bf
@ -1693,8 +1693,8 @@ class CompletionChunk:
|
||||
|
||||
@CachedProperty
|
||||
def spelling(self):
|
||||
if self.__kindNumber in SpellingCache:
|
||||
return SpellingCache[self.__kindNumber]
|
||||
if self.__kindNumber in SpellingCache:
|
||||
return SpellingCache[self.__kindNumber]
|
||||
return conf.lib.clang_getCompletionChunkText(self.cs, self.key).spelling
|
||||
|
||||
# We do not use @CachedProperty here, as the manual implementation is
|
||||
@ -1704,7 +1704,7 @@ class CompletionChunk:
|
||||
def __kindNumber(self):
|
||||
if self.__kindNumberCache == -1:
|
||||
self.__kindNumberCache = \
|
||||
conf.lib.clang_getCompletionChunkKind(self.cs, self.key)
|
||||
conf.lib.clang_getCompletionChunkKind(self.cs, self.key)
|
||||
return self.__kindNumberCache
|
||||
|
||||
@CachedProperty
|
||||
|
Loading…
x
Reference in New Issue
Block a user