[llvm] [ARM] Add reference to `ARMAsmParser` in `ARMOperand` (PR #86110)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 27 09:58:30 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 c335accb07c0cfa4bd7f47edc94c9005692edfcc 29d8064788a7cc0e67741b387af997c48ce3d878 -- llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 1c467ccf10..918216d25c 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -7433,7 +7433,7 @@ bool ARMAsmParser::ParseInstruction(ParseInstructionInfo &Info, StringRef Name,
Operands[Idx] =
ARMOperand::CreateReg(NewReg, Op1.getStartLoc(), Op2.getEndLoc());
-
+
Operands.erase(Operands.begin() + Idx + 1);
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/86110
More information about the llvm-commits
mailing list