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,h -- clang/lib/Basic/Diagnostic.cpp llvm/include/llvm/Support/SpecialCaseList.h llvm/lib/Support/SpecialCaseList.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/llvm/lib/Support/SpecialCaseList.cpp b/llvm/lib/Support/SpecialCaseList.cpp index 0218bf5d7..aa0cedd2c 100644 --- a/llvm/lib/Support/SpecialCaseList.cpp +++ b/llvm/lib/Support/SpecialCaseList.cpp @@ -68,7 +68,8 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern, unsigned LineNumber, unsigned SpecialCaseList::Matcher::match(StringRef Query) const { for (const auto &glob : this->Globs) { - llvm::outs() << "Match: " << glob.first << " Line number: " << glob.second.second << "\n"; + llvm::outs() << "Match: " << glob.first + << " Line number: " << glob.second.second << "\n"; if (glob.second.first.match(Query)) return glob.second.second; } @@ -239,8 +240,9 @@ unsigned SpecialCaseList::inSectionBlame(const SectionEntries &Entries, if (II == I->second.end()) return 0; - for (const auto& glob : II->getValue().Globs) { - llvm::outs() << "glob pattern: " << glob.first << " line number: " << glob.second.second << "\n"; + for (const auto &glob : II->getValue().Globs) { + llvm::outs() << "glob pattern: " << glob.first + << " line number: " << glob.second.second << "\n"; } return II->getValue().match(Query); } `````````` </details> https://github.com/llvm/llvm-project/pull/140964 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits