[flang-commits] [flang] [flang][NFC] Clean up code in two new functions (PR #142037)
via flang-commits
flang-commits at lists.llvm.org
Thu May 29 14:12:25 PDT 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 HEAD~1 HEAD --extensions h,cpp -- flang/include/flang/Parser/tools.h flang/include/flang/Semantics/tools.h flang/lib/Lower/OpenACC.cpp flang/lib/Lower/OpenMP/OpenMP.cpp flang/lib/Parser/tools.cpp flang/lib/Semantics/check-omp-structure.cpp flang/lib/Semantics/tools.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/include/flang/Semantics/tools.h b/flang/include/flang/Semantics/tools.h
index 1c1526d51..4b2bb4fa1 100644
--- a/flang/include/flang/Semantics/tools.h
+++ b/flang/include/flang/Semantics/tools.h
@@ -754,6 +754,6 @@ std::string GetCommonBlockObjectName(const Symbol &, bool underscoring);
bool HadUseError(SemanticsContext &, SourceName at, const Symbol *);
// Checks whether the symbol on the LHS is present in the RHS expression.
-bool CheckForSymbolMatch(const SomeExpr *lhs,const SomeExpr *rhs);
+bool CheckForSymbolMatch(const SomeExpr *lhs, const SomeExpr *rhs);
} // namespace Fortran::semantics
#endif // FORTRAN_SEMANTICS_TOOLS_H_
``````````
</details>
https://github.com/llvm/llvm-project/pull/142037
More information about the flang-commits
mailing list