aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ProgramTest.cpp
diff options
context:
space:
mode:
authorChris B <chris.bieneman@me.com>2024-09-13 16:11:19 -0500
committerGitHub <noreply@github.com>2024-09-13 16:11:19 -0500
commit2222e27d9e1438b0c723d46c62b1364391b58311 (patch)
tree6a1f8fa1f85911c2b921d2f54e8635f698f87874 /llvm/unittests/Support/ProgramTest.cpp
parentebf25d9509d19a381d94a0383135ee37f5b7b6e2 (diff)
downloadllvm-2222e27d9e1438b0c723d46c62b1364391b58311.zip
llvm-2222e27d9e1438b0c723d46c62b1364391b58311.tar.gz
llvm-2222e27d9e1438b0c723d46c62b1364391b58311.tar.bz2
[HLSL] Add HLSL 202y language mode (#108437)
This change adds a new HLSL 202y language mode. Currently HLSL 202y is planned to add `auto` and `constexpr`. This change updates extension diagnostics to state that lambadas are a "clang HLSL" extension (since we have no planned release yet to include them), and that `auto` is a HLSL 202y extension when used in earlier language modes. Note: This PR does temporarily work around some differences between HLSL 2021 and 202x in Clang by changing test cases to explicitly specify 202x. A subsequent PR will update 2021's language flags to match 202x.
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions