diff options
author | Helena Kotas <hekotas@microsoft.com> | 2025-09-18 14:36:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-18 14:36:28 -0700 |
commit | 9f5b02311ae5c47146da642be7978839f087f49c (patch) | |
tree | 5665fcce1cf4e788a0c3b61c30e5d3e95d6f8868 /llvm/lib/Support/CommandLine.cpp | |
parent | 54c55219ea3fbb44046d385acefcff0b73d3f8f4 (diff) | |
download | llvm-9f5b02311ae5c47146da642be7978839f087f49c.zip llvm-9f5b02311ae5c47146da642be7978839f087f49c.tar.gz llvm-9f5b02311ae5c47146da642be7978839f087f49c.tar.bz2 |
[HLSL] Make sure global resources and resource arrays cannot be assigned to (#157772)
Global resources are read-only. The compiler needs to report an error when somebody attempts to assign a value to a global resource, a global resource array element or the whole array.
Test update in `static-local-ctor.hlsl` includes the use of the llvm-cxxfilt tool which takes care of demangling of function names for a more readable test baseline.
Closes #154390
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions