diff --git a/clang/include/clang/Sema/ParsedAttr.h b/clang/include/clang/Sema/ParsedAttr.h index 2fe5d7c5c71551..1f5237dc4a4d2b 100644 --- a/clang/include/clang/Sema/ParsedAttr.h +++ b/clang/include/clang/Sema/ParsedAttr.h @@ -21,7 +21,6 @@ #include "clang/Sema/Ownership.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/SmallVector.h" -#include "llvm/ADT/TinyPtrVector.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/Registry.h" #include "llvm/Support/VersionTuple.h" @@ -783,7 +782,7 @@ class AttributePool { friend class AttributeFactory; friend class ParsedAttributes; AttributeFactory &Factory; - llvm::TinyPtrVector Attrs; + llvm::SmallVector Attrs; void *allocate(size_t size) { return Factory.allocate(size); @@ -908,7 +907,7 @@ class AttributePool { }; class ParsedAttributesView { - using VecTy = llvm::TinyPtrVector; + using VecTy = llvm::SmallVector; using SizeType = decltype(std::declval().size()); public: