[llvm] [TableGen] Remove map CodeGenTarget::InstrToIntMap. (PR #81079)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 18:41:38 PST 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 7718ac38a0c23597d7d02f0022eb89afe6d1b35f 648d953c2b91658ba15bda18491206986dd44e20 -- llvm/utils/TableGen/CodeGenInstruction.h llvm/utils/TableGen/CodeGenTarget.cpp llvm/utils/TableGen/CodeGenTarget.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/CodeGenTarget.h b/llvm/utils/TableGen/CodeGenTarget.h
index f122cd0bcb..29f10243e1 100644
--- a/llvm/utils/TableGen/CodeGenTarget.h
+++ b/llvm/utils/TableGen/CodeGenTarget.h
@@ -73,7 +73,7 @@ class CodeGenTarget {
mutable std::unique_ptr<CodeGenSchedModels> SchedModels;
mutable StringRef InstNamespace;
- mutable std::vector<const CodeGenInstruction*> InstrsByEnum;
+ mutable std::vector<const CodeGenInstruction *> InstrsByEnum;
mutable unsigned NumPseudoInstructions = 0;
public:
CodeGenTarget(RecordKeeper &Records);
``````````
</details>
https://github.com/llvm/llvm-project/pull/81079
More information about the llvm-commits
mailing list