]> granicus.if.org Git - clang/commit
Switch from SmallVector to TinyPtrVector for the list of attributes on a declaration...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 16 May 2016 22:53:19 +0000 (22:53 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 16 May 2016 22:53:19 +0000 (22:53 +0000)
commit34805ee8ae799e69f9a501d8f822e52c06a39003
tree39e3b56e3c1986e2f8922b944c430533d2945e73
parentb6418ca5c38e03284f93f6bd4f5594e9fab123f3
Switch from SmallVector to TinyPtrVector for the list of attributes on a declaration. This removes a memory allocation for the common case where the declaration has only one attribute.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269717 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/AttrIterator.h