summaryrefslogtreecommitdiff
path: root/clang/test/OpenMP/target_depend_codegen.cpp
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2025-11-21 19:01:31 -0800
committerGitHub <noreply@github.com>2025-11-21 19:01:31 -0800
commit8bdbc57b8975d77da88562392299ee5d9c2b6cbb (patch)
tree52b371b6b9d452c990cf56a6054d24d5233f5a9e /clang/test/OpenMP/target_depend_codegen.cpp
parent54a4da9df6906b63878ad6d0ea6da3ed7d2d8432 (diff)
[NFC][LLDB] Make it possible to detect if the compiler used in tests supports -fbounds-safety (#169112)
This patch makes it possible to detect in LLDB shell and API tests if `-fbounds-safety` is supported by the compiler used for testing. The motivation behind this is to allow upstreaming https://github.com/swiftlang/llvm-project/pull/11835 but with the tests disabled in upstream because the full implementation of -fbounds-safety isn't available in Clang yet. For shell tests when -fbounds-safety is available the `clang-bounds-safety` feature is available which means tests can be annotated with `# REQUIRES: clang-bounds-safety`. API tests that need -fbounds-safety support in the compiler can use the new `@skipUnlessBoundsSafety` decorator. rdar://165225507
Diffstat (limited to 'clang/test/OpenMP/target_depend_codegen.cpp')
0 files changed, 0 insertions, 0 deletions