[pushed] Minor formatting fix in breakpoint.c

Message ID 20240830170525.700969-1-tromey@adacore.com
State New
Headers
Series [pushed] Minor formatting fix in breakpoint.c |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Tom Tromey Aug. 30, 2024, 5:05 p.m. UTC
  I noticed a spot in breakpoint.c that doesn't follow gdb's formatting
rules: the return type is on the same line as the method name.
---
 gdb/breakpoint.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 08715853846..f06c3c26d85 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -11867,7 +11867,8 @@  code_breakpoint::say_where () const
 
 /* See breakpoint.h.  */
 
-bp_location_range breakpoint::locations () const
+bp_location_range
+breakpoint::locations () const
 {
   return bp_location_range (m_locations.begin (), m_locations.end ());
 }