summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-07-15 19:23:12 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-07-16 06:27:29 (GMT)
commit50fdb591d4abfdf88bfdda96ffd832cc4c024963 (patch)
tree85ad9b591eb36ad73cc07f4fb91ddcfb6d5762cf /src/pyscanner.h
parent93dc8f81eaaf5523715a4d5867cbb55f46c3f647 (diff)
downloadDoxygen-50fdb591d4abfdf88bfdda96ffd832cc4c024963.zip
Doxygen-50fdb591d4abfdf88bfdda96ffd832cc4c024963.tar.gz
Doxygen-50fdb591d4abfdf88bfdda96ffd832cc4c024963.tar.bz2
Refactor: Modernize clang parser and make it run with multiple threads
Diffstat (limited to 'src/pyscanner.h')
-rw-r--r--src/pyscanner.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/pyscanner.h b/src/pyscanner.h
index d6e8672..4f0ae38 100644
--- a/src/pyscanner.h
+++ b/src/pyscanner.h
@@ -1,12 +1,12 @@
/******************************************************************************
*
- *
+ *
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
- * documentation under the terms of the GNU General Public License is hereby
- * granted. No representations are made about the suitability of this software
+ * documentation under the terms of the GNU General Public License is hereby
+ * granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
@@ -36,13 +36,10 @@ class PythonOutlineParser : public OutlineParserInterface
public:
PythonOutlineParser();
virtual ~PythonOutlineParser();
- void startTranslationUnit(const char *) {}
- void finishTranslationUnit() {}
- void parseInput(const char * fileName,
- const char *fileBuf,
+ void parseInput(const char * fileName,
+ const char *fileBuf,
const std::shared_ptr<Entry> &root,
- bool sameTranslationUnit,
- QStrList &filesInSameTranslationUnit);
+ ClangTUParser *clangParser);
bool needsPreprocessing(const QCString &extension) const;
void parsePrototype(const char *text);
private: