[llvm] [llvm] remove incorrect `LLVM_ABI` annotation usage (PR #144606)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 17 14:19:02 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 -- llvm/include/llvm/CodeGen/MachineScheduler.h llvm/include/llvm/MC/MCExpr.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/MC/MCExpr.h b/llvm/include/llvm/MC/MCExpr.h
index dac0994df..8d66ed228 100644
--- a/llvm/include/llvm/MC/MCExpr.h
+++ b/llvm/include/llvm/MC/MCExpr.h
@@ -514,10 +514,10 @@ protected:
: MCExpr(Specifier, Loc), Expr(Expr), specifier(S) {}
public:
- static const MCSpecifierExpr *
- create(const MCExpr *Expr, Spec S, MCContext &Ctx, SMLoc Loc = SMLoc());
- static const MCSpecifierExpr *
- create(const MCSymbol *Sym, Spec S, MCContext &Ctx, SMLoc Loc = SMLoc());
+ static const MCSpecifierExpr *create(const MCExpr *Expr, Spec S,
+ MCContext &Ctx, SMLoc Loc = SMLoc());
+ static const MCSpecifierExpr *create(const MCSymbol *Sym, Spec S,
+ MCContext &Ctx, SMLoc Loc = SMLoc());
Spec getSpecifier() const { return specifier; }
const MCExpr *getSubExpr() const { return Expr; }
``````````
</details>
https://github.com/llvm/llvm-project/pull/144606
More information about the llvm-commits
mailing list