summaryrefslogtreecommitdiffstats
path: root/src/printdocvisitor.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-08-31 09:49:17 (GMT)
committerGitHub <noreply@github.com>2016-08-31 09:49:17 (GMT)
commit02c694ba798c09fc9093e2cb9bb927a41115d049 (patch)
tree18b953ffbc2221016281c1fa2d5b881e35f4b69a /src/printdocvisitor.h
parent59a8f09137ebfc25c2f238a417088b50b8fbb631 (diff)
parentfdfb027f346c30d6cd209b366e6cb879fb11cbcb (diff)
downloadDoxygen-02c694ba798c09fc9093e2cb9bb927a41115d049.zip
Doxygen-02c694ba798c09fc9093e2cb9bb927a41115d049.tar.gz
Doxygen-02c694ba798c09fc9093e2cb9bb927a41115d049.tar.bz2
Merge pull request #510 from albert-github/feature/bug_clang_warnings
Warnings from CLANG compiler
Diffstat (limited to 'src/printdocvisitor.h')
-rw-r--r--src/printdocvisitor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/printdocvisitor.h b/src/printdocvisitor.h
index b86670a..499fac2 100644
--- a/src/printdocvisitor.h
+++ b/src/printdocvisitor.h
@@ -22,6 +22,7 @@
#include <qglobal.h>
#include "docvisitor.h"
#include "htmlentity.h"
+#include "message.h"
/*! Concrete visitor implementation for pretty printing */
class PrintDocVisitor : public DocVisitor
@@ -170,6 +171,11 @@ class PrintDocVisitor : public DocVisitor
case DocInclude::LatexInclude: printf("latexinclude"); break;
case DocInclude::VerbInclude: printf("verbinclude"); break;
case DocInclude::Snippet: printf("snippet"); break;
+ case DocInclude::SnippetDoc:
+ case DocInclude::IncludeDoc:
+ err("Internal inconsistency: found switch SnippetDoc / IncludeDoc in file: %s"
+ "Please create a bug report\n",__FILE__);
+ break;
}
printf("\"/>");
}