From c9071ff95e5835e100e642ceba99a1bce8c3d02d Mon Sep 17 00:00:00 2001 From: Curtis Dunham Date: Wed, 23 Apr 2014 05:17:59 -0400 Subject: [PATCH] base: explicitly suggest potential use of 'All' debug flags Without this declaration, new clangs will complain about this value being unused. It has no explicit use in the codebase, but it can be useful to turn on all debugging flags while in a debugger to greatly increase simulator verbosity. --- src/base/debug.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/base/debug.hh b/src/base/debug.hh index 589e8fa42..1cd64cfc2 100644 --- a/src/base/debug.hh +++ b/src/base/debug.hh @@ -116,6 +116,8 @@ FlagsMap &allFlags(); Flag *findFlag(const std::string &name); +extern Flag *const All; + bool changeFlag(const char *s, bool value); } // namespace Debug