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 8f17c908e3858c0a2a9b1bed3f6506fec3c6f910 a08aa48fb4955f9d16c6172580505c100076b5d4 --extensions c,cpp,h -- clang/lib/Driver/ToolChains/CommonArgs.cpp clang/lib/Driver/ToolChains/Flang.cpp flang/lib/Evaluate/real.cpp flang/runtime/edit-input.h flang/runtime/edit-output.h flang/runtime/environment.h flang/runtime/format-implementation.h flang/runtime/format.h flang/test/Runtime/no-cpp-dep.c flang/unittests/Decimal/quick-sanity-test.cpp flang/unittests/Decimal/thorough-test.cpp lld/COFF/MinGW.cpp flang/include/flang/Common/binary-floating-point.h flang/include/flang/Common/decimal.h flang/lib/Common/big-radix-floating-point.h flang/lib/Common/binary-to-decimal.cpp flang/lib/Common/decimal-to-binary.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/flang/lib/Evaluate/real.cpp b/flang/lib/Evaluate/real.cpp index af6df14f11..4c78a0ab65 100644 --- a/flang/lib/Evaluate/real.cpp +++ b/flang/lib/Evaluate/real.cpp @@ -8,8 +8,8 @@ #include "flang/Evaluate/real.h" #include "int-power.h" -#include "flang/Common/idioms.h" #include "flang/Common/decimal.h" +#include "flang/Common/idioms.h" #include "flang/Parser/characters.h" #include "llvm/Support/raw_ostream.h" #include <limits> diff --git a/flang/runtime/edit-output.h b/flang/runtime/edit-output.h index 578c7c762f..6ae49265b6 100644 --- a/flang/runtime/edit-output.h +++ b/flang/runtime/edit-output.h @@ -20,8 +20,8 @@ #include "format.h" #include "io-stmt.h" -#include "flang/Common/uint128.h" #include "flang/Common/decimal.h" +#include "flang/Common/uint128.h" namespace Fortran::runtime::io { diff --git a/flang/runtime/environment.h b/flang/runtime/environment.h index dfa8c14dd6..90aa1e8dd2 100644 --- a/flang/runtime/environment.h +++ b/flang/runtime/environment.h @@ -9,8 +9,8 @@ #ifndef FORTRAN_RUNTIME_ENVIRONMENT_H_ #define FORTRAN_RUNTIME_ENVIRONMENT_H_ -#include "flang/Common/optional.h" #include "flang/Common/decimal.h" +#include "flang/Common/optional.h" struct EnvironmentDefaultList; diff --git a/flang/runtime/format-implementation.h b/flang/runtime/format-implementation.h index 783463ace8..1dd526ce89 100644 --- a/flang/runtime/format-implementation.h +++ b/flang/runtime/format-implementation.h @@ -15,8 +15,8 @@ #include "format.h" #include "io-stmt.h" #include "memory.h" -#include "flang/Common/format.h" #include "flang/Common/decimal.h" +#include "flang/Common/format.h" #include "flang/Runtime/main.h" #include <algorithm> #include <cstring> diff --git a/flang/runtime/format.h b/flang/runtime/format.h index 25aa8e9961..8362c7233b 100644 --- a/flang/runtime/format.h +++ b/flang/runtime/format.h @@ -14,8 +14,8 @@ #include "environment.h" #include "io-error.h" #include "flang/Common/Fortran-consts.h" -#include "flang/Common/optional.h" #include "flang/Common/decimal.h" +#include "flang/Common/optional.h" #include "flang/Runtime/freestanding-tools.h" #include <cinttypes> `````````` </details> https://github.com/llvm/llvm-project/pull/121997 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits