[llvm] 206acf7 - [gn] port 8a7846fe86f95 (C++23 for libcxx, libcxxabi)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 15:49:05 PDT 2024


Author: Nico Weber
Date: 2024-04-15T18:48:58-04:00
New Revision: 206acf72c3b6c23e77716ccfc55ff94a4e7a7e3e

URL: https://github.com/llvm/llvm-project/commit/206acf72c3b6c23e77716ccfc55ff94a4e7a7e3e
DIFF: https://github.com/llvm/llvm-project/commit/206acf72c3b6c23e77716ccfc55ff94a4e7a7e3e.diff

LOG: [gn] port 8a7846fe86f95 (C++23 for libcxx, libcxxabi)

Added: 
    

Modified: 
    llvm/utils/gn/secondary/libcxx/src/BUILD.gn
    llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
index 5da8db4574a0cc..1f6879358f22bc 100644
--- a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
@@ -49,7 +49,7 @@ config("cxx_config") {
     "-Wno-covered-switch-default",
   ]
   cflags_cc = [
-    "-std=c++20",
+    "-std=c++23",
     "-nostdinc++",
   ]
   defines = [

diff  --git a/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn b/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
index c82634e2bb0648..7a923c5c854d7e 100644
--- a/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
@@ -66,7 +66,7 @@ config("cxxabi_config") {
     "//libcxx/src",
   ]
   cflags_cc = [
-    "-std=c++20",
+    "-std=c++23",
     "-nostdinc++",
   ]
   defines = [


        


More information about the llvm-commits mailing list