Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
clangcodeparser.h File Reference

(540ae68c6e2784a0825c39c9d28eb4d8dac2c53a)

#include "codeparser.h"
#include "parsererror.h"
#include "config.h"
#include <QtCore/qtemporarydir.h>
#include <QtCore/QStringList>
#include <optional>
+ Include dependency graph for clangcodeparser.h:
+ This graph shows which files directly or indirectly include this file:

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< PCHFilebuildPCH (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 Documentation

◆ CXTranslationUnit

typedef struct CXTranslationUnitImpl* CXTranslationUnit

Definition at line 16 of file clangcodeparser.h.

Function Documentation

◆ buildPCH()

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 1551 of file clangcodeparser.cpp.

References flags_, kClangDontDisplayDiagnostics, printDiagnostics(), TranslationUnit::tu, and ClangVisitor::visitChildren().

+ Here is the call graph for this function: