![]() |
Qt 6.x
The Qt SDK
|
#include "preprocessor.h"
#include "utils.h"
#include <qstringlist.h>
#include <qfile.h>
#include <qdir.h>
#include <qfileinfo.h>
#include <qvarlengtharray.h>
#include "ppkeywords.cpp"
#include "keywords.cpp"
Go to the source code of this file.
Classes | |
class | PP_Expression |
Functions | |
static QByteArray | cleaned (const QByteArray &input) |
static QByteArray | readOrMapFile (QFile *file) |
static void | mergeStringLiterals (Symbols *_symbols) |
static QByteArray | searchIncludePaths (const QList< Parser::IncludePath > &includepaths, const QByteArray &include, const bool debugIncludes) |
|
static |
Definition at line 23 of file preprocessor.cpp.
References ch, is_space(), and output.
Referenced by QResourcePrivate::ensureChildren(), QResourcePrivate::load(), and Preprocessor::preprocessed().
Definition at line 968 of file preprocessor.cpp.
References QByteArray::append(), QList< T >::begin(), QList< T >::end(), QList< T >::erase(), i, j, QByteArray::reserve(), QByteArray::resize(), and QByteArray::size().
Referenced by Preprocessor::preprocessed().
|
static |
Definition at line 961 of file preprocessor.cpp.
References file, QByteArray::fromRawData(), QFileDevice::map(), QIODevice::readAll(), and QFile::size().
Referenced by Preprocessor::preprocessed().
|
static |
Definition at line 998 of file preprocessor.cpp.
References QFileInfo::canonicalFilePath(), QByteArray::constData(), QFileInfo::exists(), fi, QFileInfo::filePath(), QString::fromLocal8Bit(), QByteArray::indexOf(), QFileInfo::isDir(), QByteArray::left(), QByteArray::mid(), Q_UNLIKELY, QFileInfo::setFile(), and QString::toLocal8Bit().
Referenced by Preprocessor::resolveInclude().