[clang] [Driver] Enable IBT by default on OpenBSD/am64 (PR #125395)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 2 02:30:45 PST 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 1eac7cd5d1a3738f43d737d74ea299e08a1c3b61 a4270081b061b75ce70eb61feff5e5b1119dcda5 --extensions cpp,c -- clang/lib/Driver/ToolChains/Clang.cpp clang/test/Driver/openbsd.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp
index dcb5b94fd1..c6bbe5ca82 100644
--- a/clang/lib/Driver/ToolChains/Clang.cpp
+++ b/clang/lib/Driver/ToolChains/Clang.cpp
@@ -7061,7 +7061,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
CmdArgs.push_back("-fno-jump-tables");
}
-
if (Arg *A = Args.getLastArg(options::OPT_mfunction_return_EQ))
CmdArgs.push_back(
Args.MakeArgString(Twine("-mfunction-return=") + A->getValue()));
``````````
</details>
https://github.com/llvm/llvm-project/pull/125395
More information about the cfe-commits
mailing list