summaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2025-01-28 18:59:05 -0800
committerGitHub <noreply@github.com>2025-01-28 18:59:05 -0800
commit60927405f5612158ae0419798838be45a1637911 (patch)
tree326ec24209ce092b0638da1590ab1e1cef07f41b /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parentd0052ebbe2e2f691ec42cad3c8613ef387abc53f (diff)
Don't use CLANG_VERSION_MAJOR to check that the value passed to -fclang-abi-compat= is valid (#123998)
Use LLVM_VERSION_MAJOR instead as the maximum allowed value. This change is needed to fix regression tests that fail when vendors set CLANG_VERSION_MAJOR to a value that is lower than LLVM_VERSION_MAJOR when building the compiler. For example, clang/test/CodeGenCXX/mangle-concept.cpp fails with the following error if -DCLANG_VERSION_MAJOR=17 is passed to cmake: invalid value '19' in '-fclang-abi-compat=19'
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions