diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-08-20 10:38:16 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-08-20 10:38:16 +0000 |
commit | 6e98cdebf4f2491b5d366d72ccb9b98d1373ff22 (patch) | |
tree | 5403ad3a0803452c90799aeb3ca898c8070966a0 /llvm/lib | |
parent | 1233d558dc602ef9e367ee1ccd701ff8faed4bd9 (diff) | |
download | bcm5719-llvm-6e98cdebf4f2491b5d366d72ccb9b98d1373ff22.tar.gz bcm5719-llvm-6e98cdebf4f2491b5d366d72ccb9b98d1373ff22.zip |
[cindex.py] Cache the number of chunks in CompletionString
Without this patch, lib.clang_getNumCompletionChunks is called at
each _iteration_ of a 'for chunk in CompletionString' loop. Now we
call it just once.
llvm-svn: 162200
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions