[libc-commits] [libc] c5ca764 - [libc][Obvious] Fix c++20-designator warnings for tests that use TmHelper.h.
Tue Ly via libc-commits
libc-commits at lists.llvm.org
Sat Jun 18 19:56:18 PDT 2022
Author: Tue Ly
Date: 2022-06-18T22:55:57-04:00
New Revision: c5ca7649e3de9203a37366576c96f8c67b9a0347
URL: https://github.com/llvm/llvm-project/commit/c5ca7649e3de9203a37366576c96f8c67b9a0347
DIFF: https://github.com/llvm/llvm-project/commit/c5ca7649e3de9203a37366576c96f8c67b9a0347.diff
LOG: [libc][Obvious] Fix c++20-designator warnings for tests that use TmHelper.h.
Added:
Modified:
libc/test/src/time/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/test/src/time/CMakeLists.txt b/libc/test/src/time/CMakeLists.txt
index 514a6faa57039..9fe06e3a22974 100644
--- a/libc/test/src/time/CMakeLists.txt
+++ b/libc/test/src/time/CMakeLists.txt
@@ -9,6 +9,8 @@ add_libc_unittest(
HDRS
TmHelper.h
TmMatcher.h
+ CXX_STANDARD
+ 20
DEPENDS
libc.src.time.asctime
)
@@ -22,6 +24,8 @@ add_libc_unittest(
HDRS
TmHelper.h
TmMatcher.h
+ CXX_STANDARD
+ 20
DEPENDS
libc.src.time.asctime_r
)
@@ -59,6 +63,8 @@ add_libc_unittest(
HDRS
TmHelper.h
TmMatcher.h
+ CXX_STANDARD
+ 20
DEPENDS
libc.src.time.mktime
)
More information about the libc-commits
mailing list