[libc-commits] [libc] [libc] add timeout and clock conversion utilities (PR #91905)

via libc-commits libc-commits at lists.llvm.org
Sun May 12 16:32:50 PDT 2024


================
@@ -0,0 +1,40 @@
+//===--- clock conversion linux implementation ------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC___SUPPORT_TIME_LINUX_CLOCK_CONVERSION_H
+#define LLVM_LIBC_SRC___SUPPORT_TIME_LINUX_CLOCK_CONVERSION_H
+#include "src/__support/time/linux/clock_gettime.h"
----------------
lntue wrote:

nit: Do you mind adding some extra lines to separate the `#include`'s from the `#define` and `namespace`?

https://github.com/llvm/llvm-project/pull/91905


More information about the libc-commits mailing list