[libcxx-commits] [PATCH] D103947: [libcxx] Fix using the vcruntime ABI with _HAS_EXCEPTIONS=0 defined
Paul Kirth via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 4 17:06:43 PDT 2022
paulkirth updated this revision to Diff 427164.
paulkirth added a comment.
Detect when exceptions are disabled in the compiler, and disambiguate from the case when _HAS_EXCEPTIONS ==0
Adds a new preprocessor define that is defined when the old TEST_HAS_NO_EXCEPTIONS conditions would have been true.
We use this as a proxy test to determine if no-exceptions is really in force. If not, then we don't expect the diagnostics to be emitted.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103947/new/
https://reviews.llvm.org/D103947
Files:
libcxx/include/exception
libcxx/include/new
libcxx/include/typeinfo
libcxx/test/configs/llvm-libc++-shared-no-exception-clangcl.cfg.in
libcxx/test/support/test.support/test_macros_header.no_exceptions.verify.cpp
libcxx/test/support/test_macros.h
libcxx/utils/ci/buildkite-pipeline.yml
libcxx/utils/ci/run-buildbot
libcxx/utils/libcxx/test/features.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103947.427164.patch
Type: text/x-patch
Size: 12547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220505/0da20468/attachment-0001.bin>
More information about the libcxx-commits
mailing list