The Debug::All flag doesn't seem to be used. Remove it.
Change-Id: I3d6ad1b2f61a2a0a5c52cbc6d520112855946007
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34117
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
k->disable();
}
-struct AllFlags : public Flag
-{
- AllFlags()
- : Flag("All", "All Flags")
- {}
-
- void
- enable()
- {
- FlagsMap::iterator i = allFlags().begin();
- FlagsMap::iterator end = allFlags().end();
- for (; i != end; ++i)
- if (i->second != this)
- i->second->enable();
- }
-
- void
- disable()
- {
- FlagsMap::iterator i = allFlags().begin();
- FlagsMap::iterator end = allFlags().end();
- for (; i != end; ++i)
- if (i->second != this)
- i->second->disable();
- }
-};
-
-AllFlags theAllFlags;
-Flag *const All = &theAllFlags;
bool
changeFlag(const char *s, bool value)
Flag *findFlag(const std::string &name);
-extern Flag *const All;
-
bool changeFlag(const char *s, bool value);
} // namespace Debug