[all-commits] [llvm/llvm-project] 15aa64: [HLSL] Support register binding attribute on globa...
Xiang Li via All-commits
all-commits at lists.llvm.org
Wed Oct 5 09:25:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15aa64301ab146dec7c6ffcd0418ed834bf099e2
https://github.com/llvm/llvm-project/commit/15aa64301ab146dec7c6ffcd0418ed834bf099e2
Author: Xiang Li <python3kgae at outlook.com>
Date: 2022-10-05 (Wed, 05 Oct 2022)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseDecl.cpp
M clang/test/AST/HLSL/resource_binding_attr.hlsl
M clang/test/SemaHLSL/resource_binding_attr_error.hlsl
Log Message:
-----------
[HLSL] Support register binding attribute on global variable
Allow register binding attribute on variables.
Report warning when register binding attribute applies to local variable or static variable.
It will be ignored in this case.
Type check for register binding is tracked with https://github.com/llvm/llvm-project/issues/57886.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D134617
More information about the All-commits
mailing list