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/source-cache.h | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | binutils-users/simark/clang-format.zip binutils-users/simark/clang-format.tar.gz binutils-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/source-cache.h')
-rw-r--r-- | gdb/source-cache.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/source-cache.h b/gdb/source-cache.h index bec6598..51b4351 100644 --- a/gdb/source-cache.h +++ b/gdb/source-cache.h @@ -37,9 +37,7 @@ class source_cache { public: - source_cache () - { - } + source_cache () {} /* This returns the vector of file offsets for the symtab S, computing the vector first if needed. @@ -49,8 +47,7 @@ public: On success, returns true and sets *OFFSETS. This pointer is not guaranteed to remain valid across other calls to get_source_lines or get_line_charpos. */ - bool get_line_charpos (struct symtab *s, - const std::vector<off_t> **offsets); + bool get_line_charpos (struct symtab *s, const std::vector<off_t> **offsets); /* Get the source text for the source file in symtab S. FIRST_LINE and LAST_LINE are the first and last lines to return; line @@ -58,8 +55,8 @@ public: numbers are out of range, false is returned. Otherwise, LINES_OUT is set to the desired text. The returned text may include ANSI terminal escapes. */ - bool get_source_lines (struct symtab *s, int first_line, - int last_line, std::string *lines_out); + bool get_source_lines (struct symtab *s, int first_line, int last_line, + std::string *lines_out); /* Remove all the items from the source cache. */ void clear () |