summaryrefslogtreecommitdiffstats
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-12-17 20:23:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-12-17 20:23:07 (GMT)
commita8ada594193ff86f2d0857c1392ef1bbe766b362 (patch)
tree30e96023b79355e0e1c333f799a65592b0459627 /src/debug.cpp
parent585efafb18dbdc371a46063cbeb272e5bb292628 (diff)
parentffb2d5de29dfd6a2715eaa6abc3405882067bc9b (diff)
downloadDoxygen-a8ada594193ff86f2d0857c1392ef1bbe766b362.zip
Doxygen-a8ada594193ff86f2d0857c1392ef1bbe766b362.tar.gz
Doxygen-a8ada594193ff86f2d0857c1392ef1bbe766b362.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index 1942355..a2b2707 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -21,6 +21,7 @@
#include <qdict.h>
#include "debug.h"
+#include "message.h"
//------------------------------------------------------------------------
@@ -120,3 +121,14 @@ bool Debug::isFlagSet(DebugMask mask)
return (curMask & mask)!=0;
}
+void Debug::printFlags(void)
+{
+ int i;
+ for (i = 0; i < sizeof(s_labels)/sizeof(*s_labels); i++)
+ {
+ if (s_labels[i].name)
+ {
+ msg("\t%s\n",s_labels[i].name);
+ }
+ }
+}