[llvm] [TableGen] Replace all lingering uses of getName with getEnumName (PR #113731)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 12:45:19 PDT 2024
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 59b6c1b2d5290c40f59d2820b5144e2dec731635 c7c3fe2a1ede845f03e0c99bee0705b5c8b06793 --extensions h,cpp -- llvm/utils/TableGen/Common/CodeGenTarget.cpp llvm/utils/TableGen/Common/CodeGenTarget.h llvm/utils/TableGen/FastISelEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/FastISelEmitter.cpp b/llvm/utils/TableGen/FastISelEmitter.cpp
index c73060b3c5..2052222cae 100644
--- a/llvm/utils/TableGen/FastISelEmitter.cpp
+++ b/llvm/utils/TableGen/FastISelEmitter.cpp
@@ -725,7 +725,8 @@ void FastISelMap::printFunctionDefinitions(raw_ostream &OS) {
Operands.PrintParameters(OS);
OS << ") {\n";
- emitInstructionCode(OS, Operands, PM, std::string(getEnumName(RetVT)));
+ emitInstructionCode(OS, Operands, PM,
+ std::string(getEnumName(RetVT)));
}
// Emit one function for the type that demultiplexes on return type.
``````````
</details>
https://github.com/llvm/llvm-project/pull/113731
More information about the llvm-commits
mailing list