[flang-commits] [clang] [flang] [CMake][Release] Statically link clang with stage1 runtimes (PR #127268)
via flang-commits
flang-commits at lists.llvm.org
Sat Feb 15 06:55:20 PST 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 6ff8a06de9ce125023e117014ce4dca8fcc391d7 88e8ad406c26c6c65a2a6ed51d8b4696a0acf36e --extensions cpp -- flang/runtime/io-api-minimal.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/runtime/io-api-minimal.cpp b/flang/runtime/io-api-minimal.cpp
index 6aefef824a..08414e6296 100644
--- a/flang/runtime/io-api-minimal.cpp
+++ b/flang/runtime/io-api-minimal.cpp
@@ -151,11 +151,11 @@ bool IODEF(OutputLogical)(Cookie cookie, bool truth) {
// on the version provided by libc++.
#if !defined(_LIBCPP_VERBOSE_ABORT_NOT_NOEXCEPT)
- #define _LIBCPP_VERBOSE_ABORT_NOT_NOEXCEPT
+#define _LIBCPP_VERBOSE_ABORT_NOT_NOEXCEPT
#endif
-
-void std::__libcpp_verbose_abort(char const *format, ...) _LIBCPP_VERBOSE_ABORT_NOT_NOEXCEP {
+void std::__libcpp_verbose_abort(
+ char const *format, ...) _LIBCPP_VERBOSE_ABORT_NOT_NOEXCEP {
va_list list;
va_start(list, format);
std::vfprintf(stderr, format, list);
``````````
</details>
https://github.com/llvm/llvm-project/pull/127268
More information about the flang-commits
mailing list