[clang] [clang][ARM] disable frame pointers by default for bare metal ARM targets (PR #117140)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 21 02:40:37 PST 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 a7427410dd71072cbd1d44a6f78a08268b19a73b 4a85a0cd98bf328f31465d47c56640abdf7ec08c --extensions c,cpp,h -- clang/lib/Driver/ToolChains/BareMetal.cpp clang/lib/Driver/ToolChains/BareMetal.h clang/lib/Driver/ToolChains/CommonArgs.cpp clang/test/Driver/frame-pointer-elim.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Driver/ToolChains/BareMetal.cpp b/clang/lib/Driver/ToolChains/BareMetal.cpp
index 13b510e7e7..a9e15bb2cb 100644
--- a/clang/lib/Driver/ToolChains/BareMetal.cpp
+++ b/clang/lib/Driver/ToolChains/BareMetal.cpp
@@ -151,7 +151,7 @@ bool isARMBareMetal(const llvm::Triple &Triple) {
return true;
}
-} // namespace clang
+} // namespace toolchains
} // namespace driver
} // namespace clang
``````````
</details>
https://github.com/llvm/llvm-project/pull/117140
More information about the cfe-commits
mailing list