================ @@ -81,6 +81,7 @@ struct BuiltinTypeDeclBuilder { BuiltinTypeDeclBuilder & addMemberVariable(StringRef Name, QualType Type, + const llvm::SmallVector<Attr *, 2> &Attrs, ---------------- bogner wrote:
Generally you don't want to pass the `SmallVector` template to a function. If you need to modify it there's `SmallVectorImpl`, but in cases like this where you're just going to read it you can use `ArrayRef`: ```suggestion llvm::ArrayRef<Attr *> Attrs, ``` https://github.com/llvm/llvm-project/pull/101433 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits