![]() |
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 | isHeaderSpi (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 | isHeaderSpi (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 650 of file main.cpp.
References SyncScanner().
Referenced by SyncScanner(), and main().
|
inline |
|
inlinenodiscard |
Definition at line 1468 of file main.cpp.
Referenced by parseHeader().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 796 of file main.cpp.
References utils::printFilesystemError().
Referenced by sync().
|
inlinenodiscard |
|
nodiscard |
Definition at line 1795 of file main.cpp.
References CommandLineOptions::includeDir(), CommandLineOptions::moduleName(), and CommandLineOptions::showOnly().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1610 of file main.cpp.
References CommandLineOptions::includeDir(), CommandLineOptions::moduleName(), utils::parseVersion(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1687 of file main.cpp.
References CommandLineOptions::binaryDir(), CommandLineOptions::moduleName(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1698 of file main.cpp.
References CommandLineOptions::versionScriptFile(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1562 of file main.cpp.
References utils::asciiToUpper(), CommandLineOptions::includeDir(), CommandLineOptions::moduleName(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
nodiscard |
Definition at line 1772 of file main.cpp.
References CommandLineOptions::moduleName(), CommandLineOptions::showOnly(), and writeIfDifferent().
Referenced by sync().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1593 of file main.cpp.
References utils::asciiToUpper(), CommandLineOptions::moduleName(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1547 of file main.cpp.
Referenced by processHeader().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1530 of file main.cpp.
Referenced by processHeader().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1525 of file main.cpp.
References CommandLineOptions::privateHeadersRegex().
Referenced by parseHeader(), and resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1505 of file main.cpp.
References CommandLineOptions::qpaHeadersRegex().
Referenced by resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1510 of file main.cpp.
References CommandLineOptions::rhiHeadersRegex().
Referenced by resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1520 of file main.cpp.
References CommandLineOptions::spiHeadersRegex().
Referenced by resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1515 of file main.cpp.
References CommandLineOptions::ssgHeadersRegex().
Referenced by resetCurrentFileInfoData().
|
inlinenodiscard |
|
nodiscard |
Definition at line 1724 of file main.cpp.
References utils::normilizedPath(), and CommandLineOptions::sourceDir().
Referenced by sync().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1126 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 1047 of file main.cpp.
References CommandLineOptions::binaryDir(), LinkerScriptCommentAlignment, and CommandLineOptions::sourceDir().
Referenced by parseHeader().
|
inline |
|
inlinenodiscard |
Definition at line 874 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::spiIncludeDir(), CommandLineOptions::ssgIncludeDir(), updateOrCopy(), updateSymbolDescriptor(), CommandLineOptions::versionScriptFile(), and WeMeantItChecks.
Referenced by sync().
|
inlinenodiscard |
|
inline |
Definition at line 843 of file main.cpp.
References isHeaderPrivate(), isHeaderQpa(), isHeaderRhi(), isHeaderSpi(), isHeaderSsg(), and CommandLineOptions::sourceDir().
Referenced by processHeader().
|
inline |
|
inline |
Definition at line 665 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 1732 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 1715 of file main.cpp.
References CommandLineOptions::debug(), and 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 1836 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 ) |