[cfe-dev] [AST] Default attributes vector size
Eugene Kosov via cfe-dev
cfe-dev at lists.llvm.org
Thu Aug 11 10:03:29 PDT 2016
Hi.
I'm writing this mail to get some attention to my small contribution.
https://github.com/llvm-mirror/clang/blob/master/include/clang/AST/AttrIterator.h#L41
Obviously, SmallVector was used here to reduce allocations. But it looks like default size is not the best in that case.
Here is my patch to fix that: https://reviews.llvm.org/D23329
Best regards
Eugene
More information about the cfe-dev
mailing list