[libcxx-commits] [libcxx] WIP - [libc++][debugging] P2546R5: Debugging support & P2810R4: `is_debugger_present` `is_replaceable` (PR #81447)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 4 06:49:28 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 1022636b0ce3d9799037e59edb7ffb17f57489bb eefea95acdc626d65266de68574b07d482cd8662 -- libcxx/include/debugging libcxx/modules/std/debugging.inc libcxx/src/debugging.cpp libcxx/test/std/language.support/support.limits/support.limits.general/debugging.version.compile.pass.cpp libcxx/test/std/utilities/debugging/breakpoint.compile.pass.cpp libcxx/test/std/utilities/debugging/breakpoint_if_debugging.compile.pass.cpp libcxx/test/std/utilities/debugging/is_debugger_present.assertion.pass.cpp libcxx/test/std/utilities/debugging/is_debugger_present.pass.cpp libcxx/test/std/utilities/debugging/is_debugger_present_with_debugger_dbx.sh.cpp libcxx/test/std/utilities/debugging/is_debugger_present_with_debugger_gdb.sh.cpp libcxx/test/std/utilities/debugging/is_debugger_present_with_debugger_lldb.sh.cpp libcxx/include/__availability libcxx/include/__config libcxx/include/__std_clang_module libcxx/include/version libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/utilities/debugging/is_debugger_present.assertion.pass.cpp b/libcxx/test/std/utilities/debugging/is_debugger_present.assertion.pass.cpp
index a9e1d32487..786ff35470 100644
--- a/libcxx/test/std/utilities/debugging/is_debugger_present.assertion.pass.cpp
+++ b/libcxx/test/std/utilities/debugging/is_debugger_present.assertion.pass.cpp
@@ -24,9 +24,10 @@
// Test without debugger.
void test() {
- TEST_LIBCPP_ASSERT_FAILURE(std::is_debugger_present(),
- "Function is not available. Could not open '/proc/self/status' for reading, libc++ was "
- "compiled with _LIBCPP_HAS_NO_FILESYSTEM.");
+ TEST_LIBCPP_ASSERT_FAILURE(
+ std::is_debugger_present(),
+ "Function is not available. Could not open '/proc/self/status' for reading, libc++ was "
+ "compiled with _LIBCPP_HAS_NO_FILESYSTEM.");
}
int main(int, char**) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/81447
More information about the libcxx-commits
mailing list