[llvm] [TableGen][DecoderEmitter] Factor DecoderTableBuilder (PR #155220)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 25 02:16:14 PDT 2025


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 h,cpp -- llvm/utils/TableGen/DecoderEmitter.cpp llvm/utils/TableGen/DisassemblerEmitter.cpp llvm/utils/TableGen/TableGenBackends.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/utils/TableGen/DecoderEmitter.cpp b/llvm/utils/TableGen/DecoderEmitter.cpp
index 37b16cb49..3fa2e577e 100644
--- a/llvm/utils/TableGen/DecoderEmitter.cpp
+++ b/llvm/utils/TableGen/DecoderEmitter.cpp
@@ -1712,8 +1712,7 @@ void DecoderTableBuilder::emitTableEntries(const FilterChooser &FC) const {
   }
 }
 
-void DecoderTableBuilder::buildTable(
-    const FilterChooser &FC) const {
+void DecoderTableBuilder::buildTable(const FilterChooser &FC) const {
   TableInfo.pushScope();
   emitTableEntries(FC);
   TableInfo.popScope();

``````````

</details>


https://github.com/llvm/llvm-project/pull/155220


More information about the llvm-commits mailing list