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

Shourya Goel via libc-commits libc-commits at lists.llvm.org
Wed Oct 9 22:09:31 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;
----------------
Sh0g0-1758 wrote:

It should. You see `_Imaginary` is a new keyword, introduced in the latest spec. I am discussing with @lntue on how to deal with it, will need to look into the latest versions of gcc and clang. 

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


More information about the libc-commits mailing list