diff --git a/clang/include/clang/Sema/ParsedAttr.h b/clang/include/clang/Sema/ParsedAttr.h --- 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 @@ 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 ParsedAttributesView { - using VecTy = llvm::TinyPtrVector; + using VecTy = llvm::SmallVector; using SizeType = decltype(std::declval().size()); public: