[PATCH] D130033: [HLSL] Add resource binding attribute for HLSL.

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 11 10:57:00 PDT 2022


python3kgae updated this revision to Diff 451917.
python3kgae marked 14 inline comments as done.
python3kgae added a comment.

Remove optional flag for Slot.
Update error messages and doc.
Add test for empty resource attribute and space only resource attribute.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130033/new/

https://reviews.llvm.org/D130033

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Sema/Sema.h
  clang/lib/Parse/ParseHLSL.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/AST/HLSL/resource_binding_attr.hlsl
  clang/test/SemaHLSL/resource_binding_attr_error.hlsl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130033.451917.patch
Type: text/x-patch
Size: 14904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220811/4a2e1048/attachment-0001.bin>


More information about the cfe-commits mailing list