[lld] [LLD] [MinGW] Recognize the -rpath option (PR #102886)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 06:13:37 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 914a846e2979dc33f41e747b9b8d726424b4d92f 9736bd81c2e9ea35b2661280bf4cf689476b23fd --extensions cpp -- lld/MinGW/Driver.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lld/MinGW/Driver.cpp b/lld/MinGW/Driver.cpp
index 84e852c3b8..e5a73c1914 100644
--- a/lld/MinGW/Driver.cpp
+++ b/lld/MinGW/Driver.cpp
@@ -449,7 +449,8 @@ bool link(ArrayRef<const char *> argsArr, llvm::raw_ostream &stdoutOS,
}
if (auto *a = args.getLastArg(OPT_rpath))
- warn("parameter " + a->getSpelling() + " has no effect on PE/COFF "
+ warn("parameter " + a->getSpelling() +
+ " has no effect on PE/COFF "
"targets");
for (auto *a : args.filtered(OPT_mllvm))
``````````
</details>
https://github.com/llvm/llvm-project/pull/102886
More information about the llvm-commits
mailing list