[all-commits] [llvm/llvm-project] b267ac: [HLSL] Add Resource kind for HLSLResourceAttr.

Xiang Li via All-commits all-commits at lists.llvm.org
Tue Oct 11 09:41:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b267ac49e764c65322cf772647ff26d6732e5134
      https://github.com/llvm/llvm-project/commit/b267ac49e764c65322cf772647ff26d6732e5134
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/test/AST/HLSL/RWBuffer-AST.hlsl

  Log Message:
  -----------
  [HLSL] Add Resource kind for HLSLResourceAttr.

A new EnumArgument ResourceKind is added for HLSLResourceAttr.
This will be use to get resource kind instead of parse it from the type name.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D135335




More information about the All-commits mailing list