summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-09-25 19:09:01 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-09-25 19:12:02 (GMT)
commit608b5c375a3ea265afe96dd8b921b4b81d6b354d (patch)
tree79bc50b4602e147b976d3e7ccb6d99fccff766e3 /src/doxygen.cpp
parente8eb68511c216583a8aa981bf621778936672c7f (diff)
downloadDoxygen-608b5c375a3ea265afe96dd8b921b4b81d6b354d.zip
Doxygen-608b5c375a3ea265afe96dd8b921b4b81d6b354d.tar.gz
Doxygen-608b5c375a3ea265afe96dd8b921b4b81d6b354d.tar.bz2
redundant input_filter runs significantly reduce performance when FILTER_SOURCE_FILES and INLINE_SOURCES are both enabled #6395
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 1b40db1..9d8a914 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -167,6 +167,7 @@ bool Doxygen::suppressDocWarnings = FALSE;
Store *Doxygen::symbolStorage;
QCString Doxygen::objDBFileName;
QCString Doxygen::entryDBFileName;
+QCString Doxygen::filterDBFileName;
bool Doxygen::gatherDefines = TRUE;
IndexList *Doxygen::indexList;
int Doxygen::subpageNestingLevel = 0;
@@ -10679,6 +10680,10 @@ static void stopDoxygen(int)
{
thisDir.remove(Doxygen::objDBFileName);
}
+ if (!Doxygen::filterDBFileName.isEmpty())
+ {
+ thisDir.remove(Doxygen::filterDBFileName);
+ }
killpg(0,SIGINT);
exit(1);
}
@@ -10779,6 +10784,10 @@ static void exitDoxygen()
{
thisDir.remove(Doxygen::objDBFileName);
}
+ if (!Doxygen::filterDBFileName.isEmpty())
+ {
+ thisDir.remove(Doxygen::filterDBFileName);
+ }
}
}
@@ -11018,6 +11027,8 @@ void parseInput()
Doxygen::objDBFileName.prepend(outputDirectory+"/");
Doxygen::entryDBFileName.sprintf("doxygen_entrydb_%d.tmp",pid);
Doxygen::entryDBFileName.prepend(outputDirectory+"/");
+ Doxygen::filterDBFileName.sprintf("doxygen_filterdb_%d.tmp",pid);
+ Doxygen::filterDBFileName.prepend(outputDirectory+"/");
if (Doxygen::symbolStorage->open(Doxygen::objDBFileName)==-1)
{
@@ -11867,6 +11878,7 @@ void generateOutput()
Doxygen::symbolStorage->close();
QDir thisDir;
thisDir.remove(Doxygen::objDBFileName);
+ thisDir.remove(Doxygen::filterDBFileName);
Config::deinit();
QTextCodec::deleteAllCodecs();
delete Doxygen::symbolMap;