Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions llvm/docs/CMake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ explanation and LLVM-related notes. For full documentation, consult the CMake
manual, or execute ``cmake --help-variable VARIABLE_NAME``.

**CMAKE_CXX_STANDARD**:STRING
Sets the C++ standard to conform to when building LLVM. Possible values are
17 and 20. LLVM requires C++17 or higher. This defaults to 17.
Sets the C++ standard to conform to when building LLVM.
LLVM requires C++17 or higher. This defaults to 17.

**CMAKE_INSTALL_BINDIR**:PATH
The path to install executables, relative to the *CMAKE_INSTALL_PREFIX*.
Expand Down
6 changes: 6 additions & 0 deletions llvm/docs/CodingStandards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ Each toolchain provides a good reference for what it accepts:
Additionally, there are compiler comparison tables of supported C++ features on
`cppreference.com <https://en.cppreference.com/w/cpp/compiler_support/17>`_.

To keep track with the evolution of the standard, newer C++ version can be used
to build LLVM. However, our support focuses on the minimum supported C++
version and a very recent standard may not be yet supported, or only using the
latest version of the supported toolchains and possibly not across all the
subprojects.


C++ Standard Library
--------------------
Expand Down
Loading