diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/unittests/frame_info_ptr-selftests.c | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | gdb-users/simark/clang-format.zip gdb-users/simark/clang-format.tar.gz gdb-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/unittests/frame_info_ptr-selftests.c')
-rw-r--r-- | gdb/unittests/frame_info_ptr-selftests.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/unittests/frame_info_ptr-selftests.c b/gdb/unittests/frame_info_ptr-selftests.c index fe1e7be..a970428 100644 --- a/gdb/unittests/frame_info_ptr-selftests.c +++ b/gdb/unittests/frame_info_ptr-selftests.c @@ -24,7 +24,8 @@ #include "scoped-mock-context.h" #include "test-target.h" -namespace selftests { +namespace selftests +{ static void validate_user_created_frame (frame_id id) @@ -50,8 +51,8 @@ user_created_frame_callee (frame_info_ptr frame) static void test_user_created_frame () { - scoped_mock_context<test_target_ops> mock_context - (current_inferior ()->gdbarch); + scoped_mock_context<test_target_ops> mock_context ( + current_inferior ()->gdbarch); frame_info_ptr frame = create_new_frame (0x1234, 0x5678); validate_user_created_frame (get_frame_id (frame)); @@ -68,6 +69,7 @@ test_user_created_frame () } /* namespace selftests */ void _initialize_frame_info_ptr_selftests (); + void _initialize_frame_info_ptr_selftests () { |