[all-commits] [llvm/llvm-project] b086e1: [HLSL] Add IsArray resource attribute (#201163)

Tim Corringham via All-commits all-commits at lists.llvm.org
Fri Jun 12 00:55:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b086e198e241fdcde57a3f9961e7d8d3c3ca4a99
      https://github.com/llvm/llvm-project/commit/b086e198e241fdcde57a3f9961e7d8d3c3ca4a99
  Author: Tim Corringham <timothy.corringham at amd.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M clang/include/clang/AST/TypeBase.h
    M clang/include/clang/AST/TypeProperties.td
    M clang/include/clang/Basic/Attr.td
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/CodeGen/CGHLSLBuiltins.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/lib/Sema/SemaType.cpp
    A clang/test/ParserHLSL/hlsl_is_array_attr.hlsl
    A clang/test/ParserHLSL/hlsl_is_array_attr_error.hlsl

  Log Message:
  -----------
  [HLSL] Add IsArray resource attribute (#201163)

First part of changes to add support for the IsArray resource attribute,
which will be used by the resource array types (Texture2DArray etc.).
These types will be implemented in subsequent changes.

This implements the attribute parsing and associated tests, and
implements the first part of #194910.

The Sema builtin argument checking and CodeGen will be included in a
subsequent PR which will implement a resource array type which will
allow those changes to be tested.

---------

Co-authored-by: Tim Corringham <tcorring at amd.com>



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