[all-commits] [llvm/llvm-project] fb36d4: [HLSL] Add parsing for the resource dimension attr...

Steven Perron via All-commits all-commits at lists.llvm.org
Fri Mar 6 08:46:46 PST 2026


  Branch: refs/heads/users/s-perron/dim_attribute
  Home:   https://github.com/llvm/llvm-project
  Commit: fb36d4478797b179c499989d8f72c7262c1d3c10
      https://github.com/llvm/llvm-project/commit/fb36d4478797b179c499989d8f72c7262c1d3c10
  Author: Steven Perron <stevenperron at google.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/lib/Sema/SemaType.cpp
    A clang/test/ParserHLSL/hlsl_resource_dimension_attr.hlsl
    A clang/test/ParserHLSL/hlsl_resource_dimension_attr_error.hlsl

  Log Message:
  -----------
  [HLSL] Add parsing for the resource dimension attribute.

The resource attribute was added, but the code to be able to parse it
as we do with other resource attributes was missing. This means we are
not able to test the attribute in isolation.

This change adds the parsing for the attribute, and adds more testing
for it.

Assisted-by: Gemini



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list