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 a30ef38cd455d500680fea8afdc824b4983fa981 28ef1c7f87d3cd37dc5f5c409aab5e9ca76f6578 -- clang/include/clang/Format/Format.h clang/lib/Format/ContinuationIndenter.cpp clang/lib/Format/Format.cpp clang/lib/Format/TokenAnnotator.cpp clang/unittests/Format/FormatTest.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Format/ContinuationIndenter.cpp b/clang/lib/Format/ContinuationIndenter.cpp index 965c112236..12cf57c95a 100644 --- a/clang/lib/Format/ContinuationIndenter.cpp +++ b/clang/lib/Format/ContinuationIndenter.cpp @@ -150,7 +150,7 @@ static bool startsNextParameter(const FormatToken &Current, static bool startsNextOperand(const FormatToken &Current) { const FormatToken &Previous = *Current.Previous; return Previous.is(TT_BinaryOperator) && !Current.isTrailingComment() && - (Previous.getPrecedence() > prec::Conditional) && + (Previous.getPrecedence() > prec::Conditional) && (Previous.getPrecedence() < prec::PointerToMember); } `````````` </details> https://github.com/llvm/llvm-project/pull/95013 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits