diff options
author | Chris B <chris.bieneman@me.com> | 2024-09-13 17:36:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 17:36:41 -0500 |
commit | 03618ceabd003be94190b068db11b607fd1108ef (patch) | |
tree | e2437220ad28c5960392aef05a27759d9d99a5a2 /llvm/unittests/Support/ProgramTest.cpp | |
parent | 77bab2a6f37af918a9133d1bb15551bd351b291e (diff) | |
download | llvm-03618ceabd003be94190b068db11b607fd1108ef.zip llvm-03618ceabd003be94190b068db11b607fd1108ef.tar.gz llvm-03618ceabd003be94190b068db11b607fd1108ef.tar.bz2 |
[HLSL] Fix move assignment of `this` (#108445)
Under HLSL 202x+ move assignment can occur and when targeting `this`
move assignment was generating some really odd errors. This corrects the
errors by properly generating the `this` object reference for HLSL and
always treating it as a reference.
This mirrors the implementation added eariler for copy assignment, and
extends the test case to cover both move and copy assignment under HLSL
202x+.
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions