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 cpp -- clang-tools-extra/clangd/unittests/RenameTests.cpp clang/lib/Sema/HeuristicResolver.cpp clang/unittests/Sema/HeuristicResolverTest.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Sema/HeuristicResolver.cpp b/clang/lib/Sema/HeuristicResolver.cpp index ed817ac36..8a9b65b55 100644 --- a/clang/lib/Sema/HeuristicResolver.cpp +++ b/clang/lib/Sema/HeuristicResolver.cpp @@ -304,8 +304,7 @@ std::vector<const NamedDecl *> HeuristicResolverImpl::resolveMemberExpr( // check if member expr is in the context of an explicit object method // If so, it's safe to assume the templated arg is of type of the record - const auto ExplicitMemberHeuristic = - [&](const Expr *Base) -> QualType { + const auto ExplicitMemberHeuristic = [&](const Expr *Base) -> QualType { if (auto *DeclRef = dyn_cast_if_present<DeclRefExpr>(Base)) { auto *PrDecl = dyn_cast_if_present<ParmVarDecl>(DeclRef->getDecl()); `````````` </details> https://github.com/llvm/llvm-project/pull/155143 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits