aboutsummaryrefslogtreecommitdiff
path: root/gcc/dumpfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dumpfile.h')
-rw-r--r--gcc/dumpfile.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h
index 5b97c5c..7d5eca8 100644
--- a/gcc/dumpfile.h
+++ b/gcc/dumpfile.h
@@ -208,27 +208,27 @@ enum dump_flag : uint32_t
typedef enum dump_flag dump_flags_t;
-static inline dump_flags_t
+inline dump_flags_t
operator| (dump_flags_t lhs, dump_flags_t rhs)
{
return (dump_flags_t)((std::underlying_type<dump_flags_t>::type)lhs
| (std::underlying_type<dump_flags_t>::type)rhs);
}
-static inline dump_flags_t
+inline dump_flags_t
operator& (dump_flags_t lhs, dump_flags_t rhs)
{
return (dump_flags_t)((std::underlying_type<dump_flags_t>::type)lhs
& (std::underlying_type<dump_flags_t>::type)rhs);
}
-static inline dump_flags_t
+inline dump_flags_t
operator~ (dump_flags_t flags)
{
return (dump_flags_t)~((std::underlying_type<dump_flags_t>::type)flags);
}
-static inline dump_flags_t &
+inline dump_flags_t &
operator|= (dump_flags_t &lhs, dump_flags_t rhs)
{
lhs = (dump_flags_t)((std::underlying_type<dump_flags_t>::type)lhs
@@ -236,7 +236,7 @@ operator|= (dump_flags_t &lhs, dump_flags_t rhs)
return lhs;
}
-static inline dump_flags_t &
+inline dump_flags_t &
operator&= (dump_flags_t &lhs, dump_flags_t rhs)
{
lhs = (dump_flags_t)((std::underlying_type<dump_flags_t>::type)lhs
@@ -276,14 +276,14 @@ enum optgroup_flag
typedef enum optgroup_flag optgroup_flags_t;
-static inline optgroup_flags_t
+inline optgroup_flags_t
operator| (optgroup_flags_t lhs, optgroup_flags_t rhs)
{
return (optgroup_flags_t)((std::underlying_type<dump_flags_t>::type)lhs
| (std::underlying_type<dump_flags_t>::type)rhs);
}
-static inline optgroup_flags_t &
+inline optgroup_flags_t &
operator|= (optgroup_flags_t &lhs, optgroup_flags_t rhs)
{
lhs = (optgroup_flags_t)((std::underlying_type<dump_flags_t>::type)lhs
@@ -528,7 +528,7 @@ extern bool dumps_are_enabled;
extern void set_dump_file (FILE *new_dump_file);
/* Return true if any of the dumps is enabled, false otherwise. */
-static inline bool
+inline bool
dump_enabled_p (void)
{
return dumps_are_enabled;