![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
SyncScanner (CommandLineOptions *commandLineArgs) | |
std::filesystem::path | makeHeaderAbsolute (const std::string &filename) const |
ErrorCodes | sync () |
bool | copyGeneratedHeadersToStagingDirectory (const std::string &outputDirectory, bool skipCleanup=false) |
void | resetCurrentFileInfoData (const std::filesystem::path &headerFile) |
bool | processHeader (const std::filesystem::path &headerFile) |
void | parseVersionScriptContent (const std::string buffer, ParsingResult &result) |
bool | parseHeader (const std::filesystem::path &headerFile, ParsingResult &result, unsigned int skipChecks) |
bool | checkLineForSymbols (const std::string &line, std::string &symbol) |
bool | isHeaderQpa (const std::string &headerFileName) |
bool | isHeaderRhi (const std::string &headerFileName) |
bool | isHeaderSsg (const std::string &headerFileName) |
bool | isHeaderPrivate (const std::string &headerFile) |
bool | isHeaderPCH (const std::string &headerFilename) |
bool | isHeader (const std::filesystem::path &path) |
bool | isDocFileHeuristic (const std::string &headerFilePath) |
bool | isHeaderGenerated (const std::string &header) |
bool | generateQtCamelCaseFileIfContentChanged (const std::string &outputFilePath, const std::string &aliasedFilePath) |
bool | generateAliasedHeaderFileIfTimestampChanged (const std::string &outputFilePath, const std::string &aliasedFilePath, const FileStamp &originalStamp=FileStamp::clock::now()) |
bool | writeIfDifferent (const std::string &outputFile, const std::string &buffer) |
bool | generateMasterHeader () |
bool | generateVersionHeader (const std::string &outputFile) |
bool | generateDeprecatedHeaders () |
bool | generateHeaderCheckExceptions () |
bool | generateLinkerVersionScript () |
bool | updateOrCopy (const std::filesystem::path &src, const std::filesystem::path &dst) noexcept |
void | updateSymbolDescriptor (const std::string &symbol, const std::string &file, SymbolDescriptor::SourceType type) |
SyncScanner (CommandLineOptions *commandLineArgs) | |
std::filesystem::path | makeHeaderAbsolute (const std::string &filename) const |
ErrorCodes | sync () |
bool | copyGeneratedHeadersToStagingDirectory (const std::string &outputDirectory, bool skipCleanup=false) |
void | resetCurrentFileInfoData (const std::filesystem::path &headerFile) |
bool | processHeader (const std::filesystem::path &headerFile) |
void | parseVersionScriptContent (const std::string buffer, ParsingResult &result) |
bool | parseHeader (const std::filesystem::path &headerFile, ParsingResult &result, unsigned int skipChecks) |
bool | checkLineForSymbols (const std::string &line, std::string &symbol) |
bool | isHeaderQpa (const std::string &headerFileName) |
bool | isHeaderRhi (const std::string &headerFileName) |
bool | isHeaderSsg (const std::string &headerFileName) |
bool | isHeaderPrivate (const std::string &headerFile) |
bool | isHeaderPCH (const std::string &headerFilename) |
bool | isHeader (const std::filesystem::path &path) |
bool | isDocFileHeuristic (const std::string &headerFilePath) |
bool | isHeaderGenerated (const std::string &header) |
bool | generateQtCamelCaseFileIfContentChanged (const std::string &outputFilePath, const std::string &aliasedFilePath) |
bool | generateAliasedHeaderFileIfTimestampChanged (const std::string &outputFilePath, const std::string &aliasedFilePath, const FileStamp &originalStamp=FileStamp::clock::now()) |
bool | writeIfDifferent (const std::string &outputFile, const std::string &buffer) |
bool | generateMasterHeader () |
bool | generateVersionHeader (const std::string &outputFile) |
bool | generateDeprecatedHeaders () |
bool | generateHeaderCheckExceptions () |
bool | generateLinkerVersionScript () |
bool | updateOrCopy (const std::filesystem::path &src, const std::filesystem::path &dst) noexcept |
void | updateSymbolDescriptor (const std::string &symbol, const std::string &file, SymbolDescriptor::SourceType type) |
|
inline |
Definition at line 621 of file main.cpp.
References SyncScanner().
Referenced by SyncScanner(), and main().
|
inline |
|
inlinenodiscard |
Definition at line 1431 of file main.cpp.
Referenced by parseHeader().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 767 of file main.cpp.
References utils::printFilesystemError().
Referenced by sync().
|
inlinenodiscard |
|
nodiscard |
Definition at line 1747 of file main.cpp.
References CommandLineOptions::includeDir(), CommandLineOptions::moduleName(), and CommandLineOptions::showOnly().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1568 of file main.cpp.
References CommandLineOptions::includeDir(), CommandLineOptions::moduleName(), utils::parseVersion(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1645 of file main.cpp.
References CommandLineOptions::binaryDir(), CommandLineOptions::moduleName(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1656 of file main.cpp.
References CommandLineOptions::versionScriptFile(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1520 of file main.cpp.
References utils::asciiToUpper(), CommandLineOptions::includeDir(), CommandLineOptions::moduleName(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
nodiscard |
Definition at line 1730 of file main.cpp.
References CommandLineOptions::moduleName(), CommandLineOptions::showOnly(), and writeIfDifferent().
Referenced by sync().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1551 of file main.cpp.
References utils::asciiToUpper(), CommandLineOptions::moduleName(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1505 of file main.cpp.
Referenced by processHeader().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1488 of file main.cpp.
Referenced by processHeader().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1483 of file main.cpp.
References CommandLineOptions::privateHeadersRegex().
Referenced by parseHeader(), and resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1468 of file main.cpp.
References CommandLineOptions::qpaHeadersRegex().
Referenced by resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1473 of file main.cpp.
References CommandLineOptions::rhiHeadersRegex().
Referenced by resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1478 of file main.cpp.
References CommandLineOptions::ssgHeadersRegex().
Referenced by resetCurrentFileInfoData().
|
inlinenodiscard |
|
nodiscard |
Definition at line 1682 of file main.cpp.
References utils::normilizedPath(), and CommandLineOptions::sourceDir().
Referenced by sync().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1089 of file main.cpp.
References AllChecks, checkLineForSymbols(), IncludeChecks, isHeaderPrivate(), CommandLineOptions::moduleName(), NamespaceChecks, NoChecks, parseVersionScriptContent(), PragmaOnceChecks, PrivateHeaderChecks, CommandLineOptions::publicNamespaceRegex(), CommandLineOptions::showOnly(), updateSymbolDescriptor(), and WeMeantItChecks.
Referenced by processHeader().
|
inlinenodiscard |
|
inline |
Definition at line 1010 of file main.cpp.
References LinkerScriptCommentAlignment.
Referenced by parseHeader().
|
inline |
|
inlinenodiscard |
Definition at line 842 of file main.cpp.
References AllChecks, CommandLineOptions::binaryDir(), CommandLineOptions::copy(), GlobalHeaderRegex(), IncludeChecks, CommandLineOptions::includeDir(), isHeaderGenerated(), isHeaderPCH(), CommandLineOptions::isNonQtModule(), CommandLineOptions::minimal(), NamespaceChecks, NoChecks, parseHeader(), PrivateHeaderChecks, CommandLineOptions::privateIncludeDir(), CommandLineOptions::qpaIncludeDir(), resetCurrentFileInfoData(), CommandLineOptions::rhiIncludeDir(), CommandLineOptions::scanAllMode(), CommandLineOptions::sourceDir(), CommandLineOptions::ssgIncludeDir(), updateOrCopy(), updateSymbolDescriptor(), CommandLineOptions::versionScriptFile(), and WeMeantItChecks.
Referenced by sync().
|
inlinenodiscard |
|
inline |
Definition at line 814 of file main.cpp.
References isHeaderPrivate(), isHeaderQpa(), isHeaderRhi(), isHeaderSsg(), and CommandLineOptions::sourceDir().
Referenced by processHeader().
|
inline |
|
inline |
Definition at line 636 of file main.cpp.
References AllChecks, utils::asciiToLower(), copyGeneratedHeadersToStagingDirectory(), generateDeprecatedHeaders(), generateHeaderCheckExceptions(), generateLinkerVersionScript(), generateMasterHeader(), generateQtCamelCaseFileIfContentChanged(), generateVersionHeader(), CommandLineOptions::includeDir(), CommandLineOptions::isNonQtModule(), makeHeaderAbsolute(), CommandLineOptions::minimal(), CommandLineOptions::moduleName(), NoError, processHeader(), CommandLineOptions::scanAllMode(), CommandLineOptions::stagingDir(), SyncFailed, CommandLineOptions::versionScriptFile(), and CommandLineOptions::warningsAreErrors().
Referenced by main().
|
inline |
|
noexcept |
Definition at line 1690 of file main.cpp.
References CommandLineOptions::showOnly().
Referenced by processHeader().
|
noexcept |
void SyncScanner::updateSymbolDescriptor | ( | const std::string & | symbol, |
const std::string & | file, | ||
SymbolDescriptor::SourceType | type ) |
Definition at line 1673 of file main.cpp.
References CommandLineOptions::showOnly().
Referenced by parseHeader(), and processHeader().
void SyncScanner::updateSymbolDescriptor | ( | const std::string & | symbol, |
const std::string & | file, | ||
SymbolDescriptor::SourceType | type ) |
bool SyncScanner::writeIfDifferent | ( | const std::string & | outputFile, |
const std::string & | buffer ) |
Definition at line 1780 of file main.cpp.
References CommandLineOptions::showOnly().
Referenced by generateDeprecatedHeaders(), generateHeaderCheckExceptions(), generateLinkerVersionScript(), generateMasterHeader(), generateQtCamelCaseFileIfContentChanged(), and generateVersionHeader().
bool SyncScanner::writeIfDifferent | ( | const std::string & | outputFile, |
const std::string & | buffer ) |