[libc-commits] [libc] [libc] lift app's definition out of startup (PR #75717)
via libc-commits
libc-commits at lists.llvm.org
Sat Dec 16 13:47:27 PST 2023
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 01c8af573961c54f0d922c3f3acffa880a0a459c d51af3b8415bd7aa3f176f9eaa8bf4f78a12bc67 -- libc/config/linux/app.cpp libc/config/linux/app.h libc/startup/linux/aarch64/start.cpp libc/startup/linux/riscv/start.cpp libc/startup/linux/x86_64/start.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/config/linux/app.h b/libc/config/linux/app.h
index 18c6698574..f8e091eb52 100644
--- a/libc/config/linux/app.h
+++ b/libc/config/linux/app.h
@@ -76,7 +76,7 @@ struct AppProperties {
Args *args = nullptr;
// The properties of an application's TLS image.
- TLSImage tls {};
+ TLSImage tls{};
// Environment data.
EnvironType *env_ptr = nullptr;
``````````
</details>
https://github.com/llvm/llvm-project/pull/75717
More information about the libc-commits
mailing list