diff options
author | Adrian Prantl <aprantl@apple.com> | 2024-04-29 13:26:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 13:26:24 -0700 |
commit | 975eca0e6a3459e59e96b0df33ea0cfbd157c597 (patch) | |
tree | 27a667977703630ed74633ed9dbb3484450fcb41 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 8ba880b587074ad6c8624ed45ea2b289f653667f (diff) | |
download | llvm-975eca0e6a3459e59e96b0df33ea0cfbd157c597.zip llvm-975eca0e6a3459e59e96b0df33ea0cfbd157c597.tar.gz llvm-975eca0e6a3459e59e96b0df33ea0cfbd157c597.tar.bz2 |
Add a new SBExpressionOptions::SetLanguage() API (NFCI) (#89981)
that separates out language and version. To avoid reinventing the wheel
and introducing subtle incompatibilities, this API uses the table of
languages and versiond defined by the upcoming DWARF 6 standard
(https://dwarfstd.org/languages-v6.html). While the DWARF 6 spec is not
finialized, the list of languages is broadly considered stable.
The primary motivation for this is to allow the Swift language plugin to
switch between language dialects between, e.g., Swift 5.9 and 6.0 with
out introducing a ton of new language codes. On the main branch this
change is considered NFC.
Depends on https://github.com/llvm/llvm-project/pull/89980
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions