Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "codeparser.h"
#include "parsererror.h"
#include "config.h"
#include <QtCore/qtemporarydir.h>
#include <QtCore/QStringList>
#include <optional>
Go to the source code of this file.
Classes | |
struct | ParsedCppFileIR |
struct | PCHFile |
struct | FnCommandParser |
class | ClangCodeParser |
Typedefs | |
typedef struct CXTranslationUnitImpl * | CXTranslationUnit |
Functions | |
std::optional< PCHFile > | buildPCH (QDocDatabase *qdb, QString module_header, const std::set< Config::HeaderFilePath > &all_headers, const std::vector< QByteArray > &include_paths, const QList< QByteArray > &defines) |
Building the PCH must be possible when there are no .cpp files, so it is moved here to its own member function, and it is called after the list of header files is complete. | |
typedef struct CXTranslationUnitImpl* CXTranslationUnit |
Definition at line 16 of file clangcodeparser.h.
std::optional< PCHFile > buildPCH | ( | QDocDatabase * | qdb, |
QString | module_header, | ||
const std::set< Config::HeaderFilePath > & | all_headers, | ||
const std::vector< QByteArray > & | include_paths, | ||
const QList< QByteArray > & | defines ) |
Building the PCH must be possible when there are no .cpp files, so it is moved here to its own member function, and it is called after the list of header files is complete.
Definition at line 1574 of file clangcodeparser.cpp.
References flags_, kClangDontDisplayDiagnostics, printDiagnostics(), TranslationUnit::tu, and ClangVisitor::visitChildren().