]> granicus.if.org Git - clang/commit
Reduce malloc() traffic of clang_getOverridenCursors() by using a pool of SmallVector...
authorTed Kremenek <kremenek@apple.com>
Mon, 30 Apr 2012 19:06:49 +0000 (19:06 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 30 Apr 2012 19:06:49 +0000 (19:06 +0000)
commitbbf66ca1dad17773cc682d69b8482c4e179aeaeb
tree88eccacf5c6060e5616e68caf7a5c8d5246bc09c
parent2c0abf4ae33ab2ba690ccae724b8d6f196e7cfda
Reduce malloc() traffic of clang_getOverridenCursors() by using a pool of SmallVector<CXCursor> objects
under the covers.

Fixes <rdar://problem/11289160>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155841 91177308-0d34-0410-b5e6-96231b3b80d8
tools/libclang/CIndex.cpp
tools/libclang/CXCursor.cpp
tools/libclang/CXCursor.h
tools/libclang/CXTranslationUnit.h