aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/gdb_tilde_expand.cc
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-03-09 14:56:09 -0500
committerSimon Marchi <simon.marchi@efficios.com>2023-03-09 16:32:00 -0500
commit287de65625a667b6403d0606fa75b67926ec7230 (patch)
treea4911b3dc540ba6a54e0aebbbe972cec6f1d8be1 /gdbsupport/gdb_tilde_expand.cc
parent2562954ede66f32bff7d985e752b8052c2ae5775 (diff)
downloadgdb-287de65625a667b6403d0606fa75b67926ec7230.zip
gdb-287de65625a667b6403d0606fa75b67926ec7230.tar.gz
gdb-287de65625a667b6403d0606fa75b67926ec7230.tar.bz2
gdb, gdbserver, gdbsupport: fix whitespace issues
Replace spaces with tabs in a bunch of places. Change-Id: If0f87180f1d13028dc178e5a8af7882a067868b0
Diffstat (limited to 'gdbsupport/gdb_tilde_expand.cc')
-rw-r--r--gdbsupport/gdb_tilde_expand.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdbsupport/gdb_tilde_expand.cc b/gdbsupport/gdb_tilde_expand.cc
index d6bdb87..6107121 100644
--- a/gdbsupport/gdb_tilde_expand.cc
+++ b/gdbsupport/gdb_tilde_expand.cc
@@ -90,10 +90,8 @@ gdb_tilde_expand (const char *dir)
/* Look for the first dir separator (if any) and split d around it. */
const auto first_sep
= std::find_if (d.cbegin (), d.cend(),
- [] (const char c) -> bool
- {
- return IS_DIR_SEPARATOR (c);
- });
+ [] (const char c) -> bool
+ { return IS_DIR_SEPARATOR (c); });
const std::string to_expand (d.cbegin (), first_sep);
const std::string remainder (first_sep, d.cend ());