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 02202be1a4e7678b4dfbbb2e374f9658eb1aeae6 aec86eefdee9663ef3cbcd41aff035ca9c86a873 --extensions cpp,h -- llvm/include/llvm/CodeGen/RegAllocGreedyPass.h llvm/include/llvm/CodeGen/MachineFunction.h llvm/include/llvm/CodeGen/Passes.h llvm/include/llvm/InitializePasses.h llvm/include/llvm/Passes/CodeGenPassBuilder.h llvm/lib/CodeGen/CodeGen.cpp llvm/lib/CodeGen/RegAllocGreedy.cpp llvm/lib/CodeGen/RegAllocGreedy.h llvm/lib/Passes/PassBuilder.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/llvm/include/llvm/CodeGen/RegAllocGreedyPass.h b/llvm/include/llvm/CodeGen/RegAllocGreedyPass.h index f325224c53..656dcbb92b 100644 --- a/llvm/include/llvm/CodeGen/RegAllocGreedyPass.h +++ b/llvm/include/llvm/CodeGen/RegAllocGreedyPass.h @@ -35,7 +35,9 @@ public: MachineFunctionProperties::Property::IsSSA); } - void printPipeline(raw_ostream &OS, function_ref<StringRef(StringRef)> MapClassName2PassName) const; + void + printPipeline(raw_ostream &OS, + function_ref<StringRef(StringRef)> MapClassName2PassName) const; static bool isRequired() { return true; } private: diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp index cad49d2cc1..9df35735b3 100644 --- a/llvm/lib/CodeGen/RegAllocGreedy.cpp +++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp @@ -202,7 +202,9 @@ void RAGreedy::setAnalyses(RequiredAnalyses &Analyses) { PriorityProvider = Analyses.PriorityProvider; } -void RAGreedyPass::printPipeline(raw_ostream &OS, function_ref<StringRef(StringRef)> MapClassName2PassName) const { +void RAGreedyPass::printPipeline( + raw_ostream &OS, + function_ref<StringRef(StringRef)> MapClassName2PassName) const { StringRef FilterName = Opts.FilterName.empty() ? "all" : Opts.FilterName; OS << "regallocgreedy<" << FilterName << ">"; } `````````` </details> https://github.com/llvm/llvm-project/pull/119540 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits