diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-01-07 11:32:29 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-04-06 20:13:25 +0000 |
commit | 412fa3436f0d1fe4a7e5e3b66783aa40f599125e (patch) | |
tree | 977790384d6770f1bbb37d68ee59e7b96b34671f /contrib/llvm-project/llvm/lib/Analysis/VFABIDemangling.cpp | |
parent | 653487bbc8006839d0895811942bb8a2fcdd5aa8 (diff) | |
download | src-412fa3436f0d1fe4a7e5e3b66783aa40f599125e.tar.gz src-412fa3436f0d1fe4a7e5e3b66783aa40f599125e.zip |
Add two FreeBSD customizations to libc++
This is intended to better support ports usage of older clang versions:
* Add _LIBCPP_ENABLE_COMPILER_VERSION_CHECKS block around compiler
version checks, to avoid any warnings about support. This makes some
ports that use -Werror fall over.
* When using clang < 15.0, avoid using a type visibility attribute on
the std namespace, as older versions of clang do not support this.
PR: 276104
MFC after: 1 month
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Analysis/VFABIDemangling.cpp')
0 files changed, 0 insertions, 0 deletions