[clang] Attach resource attributes to handle within record, instead of record (PR #101433)
Damyan Pepper via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 1 16:33:11 PDT 2024
================
@@ -81,6 +81,7 @@ struct BuiltinTypeDeclBuilder {
BuiltinTypeDeclBuilder &
addMemberVariable(StringRef Name, QualType Type,
+ llvm::SmallVector<Attr *, 2> Attrs,
----------------
damyanp wrote:
This should probably be a const reference to avoid copying the vector.
https://github.com/llvm/llvm-project/pull/101433
More information about the cfe-commits
mailing list