aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/file-and-dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/file-and-dir.h')
-rw-r--r--gdb/dwarf2/file-and-dir.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/dwarf2/file-and-dir.h b/gdb/dwarf2/file-and-dir.h
index 193a138..3dcb057 100644
--- a/gdb/dwarf2/file-and-dir.h
+++ b/gdb/dwarf2/file-and-dir.h
@@ -43,10 +43,7 @@ struct file_and_directory
}
/* Return true if the file name is unknown. */
- bool is_unknown () const
- {
- return m_name == nullptr;
- }
+ bool is_unknown () const { return m_name == nullptr; }
/* Set the compilation directory. */
void set_comp_dir (std::string &&dir)
@@ -100,10 +97,7 @@ struct file_and_directory
}
/* Forget the full name. */
- void forget_fullname ()
- {
- m_fullname.reset ();
- }
+ void forget_fullname () { m_fullname.reset (); }
private: