[libc-commits] [libc] [libc][complex] Set up headers and add documentation (PR #111659)

via libc-commits libc-commits at lists.llvm.org
Thu Oct 10 07:57:16 PDT 2024


================
@@ -0,0 +1,14 @@
+//===-- Definition of _Imaginary type -------------------------------------===//
+//
+// 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_TYPES__Imaginary_H
+#define LLVM_LIBC_TYPES__Imaginary_H
+
+typedef /* TODO */ _Imaginary;
----------------
lntue wrote:

I meant this file can be removed for now.  We shouldn't leave an empty header file.  You can create an issue to add `imaginary` macros when `_Imaginary` type is supported in clang or gcc.

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


More information about the libc-commits mailing list