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 7be0b9e05cd110082fdba1f58f6b900756985981 3bd1ec25c2a99a23ac07b3e39e2d5d99a7a1dd2b --extensions h,cpp -- bolt/include/bolt/Profile/YAMLProfileReader.h bolt/lib/Profile/YAMLProfileReader.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/bolt/lib/Profile/YAMLProfileReader.cpp b/bolt/lib/Profile/YAMLProfileReader.cpp index 07bc890926..2c0c3cc137 100644 --- a/bolt/lib/Profile/YAMLProfileReader.cpp +++ b/bolt/lib/Profile/YAMLProfileReader.cpp @@ -51,9 +51,10 @@ llvm::cl::opt<bool> cl::desc("Match functions with call graph"), cl::Hidden, cl::cat(BoltOptCategory)); -llvm::cl::opt<bool> MatchWithPseudoProbes( - "match-with-pseudo-probes", cl::desc("Match functions with pseudo probes"), - cl::Hidden, cl::cat(BoltOptCategory)); +llvm::cl::opt<bool> + MatchWithPseudoProbes("match-with-pseudo-probes", + cl::desc("Match functions with pseudo probes"), + cl::Hidden, cl::cat(BoltOptCategory)); llvm::cl::opt<bool> ProfileUseDFS("profile-use-dfs", cl::desc("use DFS order for YAML profile"), @@ -809,12 +810,11 @@ size_t YAMLProfileReader::matchWithPseudoProbes(BinaryContext &BC) { const auto ProbeIt = Node->getProbes().begin(); const auto *Probe = (ProbeIt != Node->getProbes().end()) ? &*ProbeIt : nullptr; - LLVM_DEBUG(dbgs() - << MatchedNodes << "/" << YamlBF.InlineTree.size() - << " match with " << *BF << " at " - << (Probe ? Probe->getInlineContextStr(GUID2FuncDescMap) - : "(none)") - << '\n'); + LLVM_DEBUG(dbgs() << MatchedNodes << "/" << YamlBF.InlineTree.size() + << " match with " << *BF << " at " + << (Probe ? Probe->getInlineContextStr(GUID2FuncDescMap) + : "(none)") + << '\n'); } MatchedWithPseudoProbes += !!Matched; YamlBF.Used |= !!Matched; `````````` </details> https://github.com/llvm/llvm-project/pull/100446 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits