[libc-commits] [libc] cec276a - [libc] Build fix.
Raman Tenneti via libc-commits
libc-commits at lists.llvm.org
Mon Oct 24 16:18:57 PDT 2022
Author: Raman Tenneti
Date: 2022-10-24T16:18:52-07:00
New Revision: cec276ac910946da3217d1636e6d932009aaceab
URL: https://github.com/llvm/llvm-project/commit/cec276ac910946da3217d1636e6d932009aaceab
DIFF: https://github.com/llvm/llvm-project/commit/cec276ac910946da3217d1636e6d932009aaceab.diff
LOG: [libc] Build fix.
Build fix.
Reviewed By: rtenneti
Differential Revision: https://reviews.llvm.org/D136647
Added:
Modified:
libc/spec/stdc.td
Removed:
################################################################################
diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td
index a1327f9769700..3981d0d355f99 100644
--- a/libc/spec/stdc.td
+++ b/libc/spec/stdc.td
@@ -935,6 +935,14 @@ def StdC : StandardSpec<"stdc"> {
ArgSpec<CharPtr>,
]
>,
+ FunctionSpec<
+ "
diff time",
+ RetValSpec<DoubleType>,
+ [
+ ArgSpec<TimeTType>,
+ ArgSpec<TimeTType>,
+ ]
+ >,
FunctionSpec<
"gmtime",
RetValSpec<StructTmPtr>,
More information about the libc-commits
mailing list