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 9447dddba61ad3a5441d9b0b397bde9b5876b37d e754d86e1c35d4417dfae8d270de7dee318f783e -- flang/lib/Lower/ConverterMixin.h flang/lib/Lower/OpenMPMixin.h flang/lib/Lower/Bridge.cpp flang/lib/Lower/FirConverter.h flang/lib/Lower/OpenMP.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/flang/lib/Lower/ConverterMixin.h b/flang/lib/Lower/ConverterMixin.h index a873ff36d0..8a796c106a 100644 --- a/flang/lib/Lower/ConverterMixin.h +++ b/flang/lib/Lower/ConverterMixin.h @@ -15,7 +15,8 @@ namespace Fortran::lower { -template <typename FirConverterT> class ConverterMixinBase { +template <typename FirConverterT> +class ConverterMixinBase { public: FirConverterT *This() { return static_cast<FirConverterT *>(this); } const FirConverterT *This() const { diff --git a/flang/lib/Lower/OpenMP.cpp b/flang/lib/Lower/OpenMP.cpp index 5ca7be5da2..d861f2d90a 100644 --- a/flang/lib/Lower/OpenMP.cpp +++ b/flang/lib/Lower/OpenMP.cpp @@ -50,14 +50,16 @@ template <> Fortran::lower::LoweringBridge &OpenMPMixin<FirConverter>::getBridge() { return This()->FirConverter::getBridge(); } -template <> fir::FirOpBuilder &OpenMPMixin<FirConverter>::getBuilder() { +template <> +fir::FirOpBuilder &OpenMPMixin<FirConverter>::getBuilder() { return This()->FirConverter::getBuilder(); } template <> Fortran::lower::pft::Evaluation &OpenMPMixin<FirConverter>::getEval() { return This()->FirConverter::getEval(); } -template <> Fortran::lower::SymMap &OpenMPMixin<FirConverter>::getSymTable() { +template <> +Fortran::lower::SymMap &OpenMPMixin<FirConverter>::getSymTable() { return This()->FirConverter::getSymTable(); } `````````` </details> https://github.com/llvm/llvm-project/pull/74866 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits