[all-commits] [llvm/llvm-project] ad5664: [HLSL] Add type traits for ConstantBuffers templates
Steven Perron via All-commits
all-commits at lists.llvm.org
Thu May 7 13:31:23 PDT 2026
Branch: refs/heads/users/s-perron/constantbuffer-type-trait
Home: https://github.com/llvm/llvm-project
Commit: ad5664b666021c189d2ac0e1318c4cd8d4832c96
https://github.com/llvm/llvm-project/commit/ad5664b666021c189d2ac0e1318c4cd8d4832c96
Author: Steven Perron <stevenperron at google.com>
Date: 2026-05-07 (Thu, 07 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
M clang/test/SemaHLSL/BuiltIns/ConstantBuffers.hlsl
Log Message:
-----------
[HLSL] Add type traits for ConstantBuffers templates
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
Commit: e0039cba4a8110ce6f3daadbf368981e9301ccf7
https://github.com/llvm/llvm-project/commit/e0039cba4a8110ce6f3daadbf368981e9301ccf7
Author: Steven Perron <stevenperron at google.com>
Date: 2026-05-07 (Thu, 07 May 2026)
Changed paths:
R clang/test/SemaHLSL/BuiltIns/ConstantBuffers.hlsl
A clang/test/SemaHLSL/Resources/ConstantBuffers.hlsl
Log Message:
-----------
Move test file, and add new test.
Compare: https://github.com/llvm/llvm-project/compare/3b1ce68e7269...e0039cba4a81
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