[llvm] 595c4a3 - [LLVM][docs] Update CMake.rst to follow the upgrade to C++ 17 [NFC]

ZHU Zijia via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 4 18:57:53 PDT 2022


Author: ZHU Zijia
Date: 2022-09-05T09:56:04+08:00
New Revision: 595c4a3c050a86e18473fc9f4e3cff98524c13ca

URL: https://github.com/llvm/llvm-project/commit/595c4a3c050a86e18473fc9f4e3cff98524c13ca
DIFF: https://github.com/llvm/llvm-project/commit/595c4a3c050a86e18473fc9f4e3cff98524c13ca.diff

LOG: [LLVM][docs] Update CMake.rst to follow the upgrade to C++ 17 [NFC]

Update `CMake.rst` to follow the upgrade to C++ 17 in LLVM.

Reviewed By: thieta, MaskRay

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

Added: 
    

Modified: 
    llvm/docs/CMake.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 879b7b231d4cf..b2b17b0ad0be2 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -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*.


        


More information about the llvm-commits mailing list