[all-commits] [llvm/llvm-project] 90a2a8: [HLSL] Add type traits for ConstantBuffers templat...

Steven Perron via All-commits all-commits at lists.llvm.org
Fri May 8 07:07:15 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90a2a8e6d0427804233b0aa58969b65bae87e425
      https://github.com/llvm/llvm-project/commit/90a2a8e6d0427804233b0aa58969b65bae87e425
  Author: Steven Perron <stevenperron at google.com>
  Date:   2026-05-08 (Fri, 08 May 2026)

  Changed paths:
    M clang/include/clang/Basic/TokenKinds.def
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/lib/Sema/SemaTypeTraits.cpp
    R clang/test/SemaHLSL/BuiltIns/ConstantBuffers.hlsl
    A clang/test/SemaHLSL/Resources/ConstantBuffers.hlsl

  Log Message:
  -----------
  [HLSL] Add type traits for ConstantBuffers templates (#195154)

This commit adds the type traits to restrict the template type in a
ConstantBuffer to structs or classes that do not contain a resource
type.

Assisted-by: Gemini

<!-- branch-stack-start -->

-------------------------
- main
  - https://github.com/llvm/llvm-project/pull/195151
    - https://github.com/llvm/llvm-project/pull/195152
      - https://github.com/llvm/llvm-project/pull/195153
        - https://github.com/llvm/llvm-project/pull/195154 :point_left:

<sup>[Stack](https://www.git-town.com/how-to/proposal-breadcrumb.html)
generated by [Git Town](https://github.com/git-town/git-town)</sup>

<!-- branch-stack-end -->



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