diff options
author | Xiang Li <python3kgae@outlook.com> | 2022-09-30 10:54:05 -0700 |
---|---|---|
committer | Xiang Li <python3kgae@outlook.com> | 2022-10-05 09:23:35 -0700 |
commit | 15aa64301ab146dec7c6ffcd0418ed834bf099e2 (patch) | |
tree | e6992bdbfd642cbb74ef2364d4c51248f0d53417 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | 549773f9e98f9c5895f4cc461a7fb1dbdb216af8 (diff) | |
download | llvm-15aa64301ab146dec7c6ffcd0418ed834bf099e2.zip llvm-15aa64301ab146dec7c6ffcd0418ed834bf099e2.tar.gz llvm-15aa64301ab146dec7c6ffcd0418ed834bf099e2.tar.bz2 |
[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
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions