[llvm-dev] Use of C++17 in the LLVM codebase

Tobias Hieta via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 23 07:23:04 PST 2021


On Tue, Nov 23, 2021 at 1:57 PM Simon Pilgrim via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> According to https://llvm.org/docs/CodingStandards.html - we only accept
> up to standard C++14 code that is supported by our minimum
> gcc/clang/msvc versions.
>
> Does anyone know what in particular is preventing us from bumping the
> minimum compiler versions to make 'compiler supported' C++17 a similar
> requirement to build LLVM at this time?

There is a process for this that's documented here:
https://llvm.org/docs/DeveloperPolicy.html#id23

An RFC like this should be written:
https://lists.llvm.org/pipermail/llvm-dev/2019-January/129452.html

I don't think anything is blocking it except that someone needs to do
the work to investigate the different toolchains and summarize it in a
RFC email to the list.

-- Tobias


More information about the llvm-dev mailing list