[clang] [llvm] [HLSL] Add `Increment`/`DecrementCounter` methods to structured buffers (PR #114148)
Tex Riddell via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 25 13:26:32 PST 2024
================
@@ -271,53 +246,70 @@ struct BuiltinTypeDeclBuilder {
return *this;
}
+ FieldDecl *getResourceHandleField() {
+ FieldDecl *FD = Fields["h"];
----------------
tex3d wrote:
I thought `lookup` was right:
https://github.com/llvm/llvm-project/blob/30af6fb163add17a6be515200881afdff91d213a/llvm/include/llvm/ADT/StringMap.h#L251-L258
https://github.com/llvm/llvm-project/pull/114148
More information about the cfe-commits
mailing list