[libc] [llvm] [libc][complex] Testing infra for MPC (PR #121261)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 11 07:04:25 PST 2025
================
@@ -0,0 +1,365 @@
+//===-- Utils which wrap MPC ----------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "MPCUtils.h"
+
+#include "../MPFRWrapper/MPFRUtils.cpp"
----------------
lntue wrote:
Why do we need to include the `MPFRUtils.cpp`? If something is needed from the internal of `MPFRUtils.cpp`, either export its declaration to `MPFRUtils.h`, or refactor it to a shared header or object library.
https://github.com/llvm/llvm-project/pull/121261
More information about the llvm-commits
mailing list