aboutsummaryrefslogtreecommitdiff
path: root/gdb/filesystem.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdb/filesystem.h
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-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/filesystem.h')
-rw-r--r--gdb/filesystem.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/gdb/filesystem.h b/gdb/filesystem.h
index f2082da..6c579ce 100644
--- a/gdb/filesystem.h
+++ b/gdb/filesystem.h
@@ -28,23 +28,22 @@ extern const char *target_file_system_kind;
/* Same as IS_DIR_SEPARATOR but with file system kind KIND's
semantics, instead of host semantics. */
-#define IS_TARGET_DIR_SEPARATOR(kind, c) \
+#define IS_TARGET_DIR_SEPARATOR(kind, c) \
(((kind) == file_system_kind_dos_based) ? IS_DOS_DIR_SEPARATOR (c) \
- : IS_UNIX_DIR_SEPARATOR (c))
+ : IS_UNIX_DIR_SEPARATOR (c))
/* Same as IS_ABSOLUTE_PATH but with file system kind KIND's
semantics, instead of host semantics. */
-#define IS_TARGET_ABSOLUTE_PATH(kind, p) \
+#define IS_TARGET_ABSOLUTE_PATH(kind, p) \
(((kind) == file_system_kind_dos_based) ? IS_DOS_ABSOLUTE_PATH (p) \
- : IS_UNIX_ABSOLUTE_PATH (p))
+ : IS_UNIX_ABSOLUTE_PATH (p))
/* Same as HAS_DRIVE_SPEC but with file system kind KIND's semantics,
instead of host semantics. */
-#define HAS_TARGET_DRIVE_SPEC(kind, p) \
- (((kind) == file_system_kind_dos_based) ? HAS_DOS_DRIVE_SPEC (p) \
- : 0)
+#define HAS_TARGET_DRIVE_SPEC(kind, p) \
+ (((kind) == file_system_kind_dos_based) ? HAS_DOS_DRIVE_SPEC (p) : 0)
/* Same as lbasename, but with file system kind KIND's semantics,
instead of host semantics. */