[libcxx-commits] [PATCH] D151026: [libc++] Adds C++26 support.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 20 12:08:02 PDT 2023
Mordante added a subscriber: jwakely.
Mordante added inline comments.
================
Comment at: libcxx/utils/ci/buildkite-pipeline.yml:328-329
CXX: "clang++-${LLVM_HEAD_VERSION}"
- ENABLE_CLANG_TIDY: "On"
+ # TODO(LLVM-17) enable clang-tidy.
+ # ENABLE_CLANG_TIDY: "On"
agents:
----------------
philnik wrote:
> Why do these have to be disabled?
Clang 16 as used by clang-tidy-16 does not support C++23, C++2c, and C++26.
I have been considering to move to clang-tidy-17, but that gives other issues, which I'm still investigating.
================
Comment at: libcxx/utils/libcxx/test/params.py:65
'c++23': 'c++2b',
+ 'c++26': 'c++2c',
}
----------------
philnik wrote:
> Is this required, since both GCC and Clang support the `c++26` flag right away?
Fair point, probably not. I think we could even remove 0x, 1y. 1z, and 2a. Since we don't support that ancient compilers.
AFAIK there is no gcc yet that support C++26, but as @jwakely indicated it's expected that GCC will support C++26 and C++2c at the same time.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151026/new/
https://reviews.llvm.org/D151026
More information about the libcxx-commits
mailing list