================
@@ -722,8 +790,32 @@ BuiltinTypeDeclBuilder::addMemberVariable(StringRef Name,
QualType Type,
return *this;
}
+BuiltinTypeDeclBuilder &
+BuiltinTypeDeclBuilder::addBufferHandles(ResourceClass RC, bool IsROV,
+ bool RawBuffer, bool HasCounter,
+ AccessSpecifier Access) {
+ addHandleMember(RC, IsROV, RawBuffer, Access);
+ if (HasCounter) {
+ addCounterHandleMember(RC, IsROV, RawBuffer, Access);
+ }
----------------
hekota wrote:
I get that! :) It's something I had to get used to as well.
https://github.com/llvm/llvm-project/pull/161414
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits