aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@nuwen.net>2023-12-14 14:38:27 -0800
committerGitHub <noreply@github.com>2023-12-14 17:38:27 -0500
commit64addd65210db59c8cb3794f792720e03e25b5af (patch)
tree289f9a84710f3df902b7afae52cf633b0715ab38 /lldb/source/Commands/CommandObjectThread.cpp
parent4070dffd34e99915b005c655086d92e42c004d25 (diff)
downloadllvm-64addd65210db59c8cb3794f792720e03e25b5af.zip
llvm-64addd65210db59c8cb3794f792720e03e25b5af.tar.gz
llvm-64addd65210db59c8cb3794f792720e03e25b5af.tar.bz2
[libc++][test] Enhance ADDITIONAL_COMPILE_FLAGS, use TEST_MEOW_DIAGNOSTIC_IGNORED sparingly (#75317)
This is the last PR that's needed (for now) to get libc++'s tests working with MSVC's STL. The ADDITIONAL_COMPILE_FLAGS machinery is very useful, but also very problematic for MSVC, as it doesn't understand most of Clang's compiler options. We've been dealing with this by simply marking anything that uses ADDITIONAL_COMPILE_FLAGS as FAIL or SKIPPED, but that creates significant gaps in test coverage. Fortunately, ADDITIONAL_COMPILE_FLAGS also supports "features", which can be slightly enhanced to send Clang-compatible and MSVC-compatible options to the right compilers. This patch adds the gcc-style-warnings and cl-style-warnings Lit features, and uses that to pass the appropriate warning flags to tests. It also uses TEST_MEOW_DIAGNOSTIC_IGNORED for a few local suppressions of MSVC warnings.
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions