mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 09:48:47 +00:00
Everywhere: Run clang-format
The following command was used to clang-format these files: clang-format-19 -i $(find . \ -not \( -path "./\.*" -prune \) \ -not \( -path "./Build/*" -prune \) \ -not \( -path "./Toolchain/*" -prune \) \ -type f -name "*.cpp" -o -name "*.mm" -o -name "*.h")
This commit is contained in:
parent
66732d2203
commit
27478ec7d4
Notes:
github-actions[bot]
2024-12-28 13:40:37 +00:00
Author: https://github.com/trflynn89
Commit: 27478ec7d4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3067
57 changed files with 160 additions and 140 deletions
|
@ -286,7 +286,7 @@ ErrorOr<bool> Process::is_being_debugged()
|
|||
if (sysctl(mib, sizeof(mib) / sizeof(*mib), &info, &size, NULL, 0) < 0)
|
||||
return Error::from_syscall("sysctl"sv, -errno);
|
||||
|
||||
// We're being debugged if the P_TRACED flag is set.
|
||||
// We're being debugged if the P_TRACED flag is set.
|
||||
# if defined(AK_OS_MACOS)
|
||||
return ((info.kp_proc.p_flag & P_TRACED) != 0);
|
||||
# elif defined(AK_OS_FREEBSD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue