[LLVM][docs] Update CMake.rst to follow the upgrade to C++ 17 [NFC]
authorZHU Zijia <piggynl@outlook.com>
Mon, 5 Sep 2022 01:56:04 +0000 (09:56 +0800)
committerZHU Zijia <piggynl@outlook.com>
Mon, 5 Sep 2022 01:56:04 +0000 (09:56 +0800)
Update `CMake.rst` to follow the upgrade to C++ 17 in LLVM.

Reviewed By: thieta, MaskRay

Differential Revision: https://reviews.llvm.org/D133272

llvm/docs/CMake.rst

index 879b7b2..b2b17b0 100644 (file)
@@ -278,7 +278,7 @@ 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
-  14, 17, 20.  LLVM Requires C++ 14 or higher.  This defaults to 14.
+  17 and 20.  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*.