diff options
author | Adrian Prantl <aprantl@apple.com> | 2023-01-05 13:41:33 -0800 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2023-01-05 13:43:12 -0800 |
commit | 69f2b5fcf1be2226181cce21066f072279ba5d14 (patch) | |
tree | abbb3d4992de6a02df67f71bee46b56f99e93e06 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 81849497b42e1a865af8aff65ab768e56a301c87 (diff) | |
download | llvm-69f2b5fcf1be2226181cce21066f072279ba5d14.zip llvm-69f2b5fcf1be2226181cce21066f072279ba5d14.tar.gz llvm-69f2b5fcf1be2226181cce21066f072279ba5d14.tar.bz2 |
Revert an unintentional API ABI break
lldb::LanguageType is used as a parameter in
SBExpressionOptions::SetLanguage(), which actually makes this type API
too. Commit 6eaedbb52f2a616e644e5acc7279c8b07c4cfe82 added a
`: uint16_t` to it, which broke binary compatibility for the SBAPI. This
patch reverts to the original enum.
I tried moving the entire enum into include/API, but that created a
cyclic module dependency between API and Utility. To keep things
simple, this just reverts to the original code and adds a warning.
rdar://103415402
Differential Revision: https://reviews.llvm.org/D141087
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions