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/examples/FeatureList/FeatureList.cpp flang/include/flang/Lower/DirectivesCommon.h flang/include/flang/Parser/dump-parse-tree.h flang/include/flang/Parser/parse-tree.h flang/include/flang/Semantics/symbol.h flang/include/flang/Support/Fortran.h flang/lib/Lower/OpenMP/Clauses.cpp flang/lib/Parser/openmp-parsers.cpp flang/lib/Parser/unparse.cpp flang/lib/Semantics/resolve-directives.cpp flang/lib/Semantics/rewrite-directives.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/flang/lib/Semantics/resolve-directives.cpp b/flang/lib/Semantics/resolve-directives.cpp index 4ffe20afc..620a37cb4 100644 --- a/flang/lib/Semantics/resolve-directives.cpp +++ b/flang/lib/Semantics/resolve-directives.cpp @@ -2764,8 +2764,8 @@ void ResolveOmpTopLevelParts( flags{details.ompRequires()}) { combinedFlags |= *flags; } - if (const common::OmpMemoryOrderType *memOrder{ - details.ompAtomicDefaultMemOrder()}) { + if (const common::OmpMemoryOrderType * + memOrder{details.ompAtomicDefaultMemOrder()}) { if (combinedMemOrder && *combinedMemOrder != *memOrder) { context.Say(symbol.scope()->sourceRange(), "Conflicting '%s' REQUIRES clauses found in compilation " `````````` </details> https://github.com/llvm/llvm-project/pull/136312 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits