[lld] [llvm] [MC] Honour alignment directive fill value for non-intel (PR #100136)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 07:57:34 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 eb9bf188918bf5c88151d7735d925a3912a5b596 79c2b306101a719cca113a1fec4961a5cf4fe6ed --extensions cpp -- llvm/lib/MC/MCParser/AsmParser.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp
index 795dd6b0b2..1b9c624136 100644
--- a/llvm/lib/MC/MCParser/AsmParser.cpp
+++ b/llvm/lib/MC/MCParser/AsmParser.cpp
@@ -3484,8 +3484,8 @@ bool AsmParser::parseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
if (HasFillExpr && FillExpr != 0 && Section->isVirtualSection()) {
ReturnVal |=
Warning(FillExprLoc, "ignoring non-zero fill value in " +
- Section->getVirtualSectionKind() + " section '" +
- Section->getName() + "'");
+ Section->getVirtualSectionKind() +
+ " section '" + Section->getName() + "'");
FillExpr = 0;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/100136
More information about the llvm-commits
mailing list