hekota wrote: > > I also don't see anywhere that actually successfully uses > > `__builtin_hlsl_resource_t`. Am I missing it, or should I not expect to see > > it? > > You are correct - the type cannot be directly declared in user code, so the > tests only check for errors and that the type shows up properly in AST. It is > possible to use this type internally in Clang or in implicit headers though, > which are two ways how we could define `RWBuffer` and other builtin types > that will internally use `__builtin_hlsl_resource_t` handle. That will come > alive in (#84824).
The PR has been updated to allow instantiation of `__hlsl_resource_t` in struct fields. https://github.com/llvm/llvm-project/pull/97362 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits