Skip to content

Commit f51369f

Browse files
author
git apple-llvm automerger
committed
Merge commit '2a9afdb79377' from llvm.org/main into next
2 parents 39dfd49 + 2a9afdb commit f51369f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Sema/ParsedAttr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ class AttributePool {
694694
friend class AttributeFactory;
695695
friend class ParsedAttributes;
696696
AttributeFactory &Factory;
697-
llvm::SmallVector<ParsedAttr *> Attrs;
697+
llvm::SmallVector<ParsedAttr *, 2> Attrs;
698698

699699
void *allocate(size_t size) {
700700
return Factory.allocate(size);
@@ -824,7 +824,7 @@ class AttributePool {
824824

825825
class ParsedAttributesView {
826826
friend class AttributePool;
827-
using VecTy = llvm::SmallVector<ParsedAttr *>;
827+
using VecTy = llvm::SmallVector<ParsedAttr *, 2>;
828828
using SizeType = decltype(std::declval<VecTy>().size());
829829

830830
public:

0 commit comments

Comments
 (0)