![]() |
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) |
| std::string | currentFileOutputDir () const |
| std::string | currentFileIncludePath () const |
| bool | processHeader (const std::filesystem::path &headerFile) |
| void | parseVersionScriptContent (const std::string bufferbuffer, ParsingResult &resultresult) |
| bool | parseHeader (const std::filesystem::path &headerFile, ParsingResult &resultresult, 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 | isHeaderPublic (const std::string &headerFileName) |
| bool | isHeaderPCH (const std::string &headerFilename) |
| bool | isHeaderImpl (const std::string &headerFilename) const |
| bool | isHeaderDeprecated (const std::string &headerFilename) const |
| bool | isHeader (const std::filesystem::path &pathpath) |
| bool | isDocFileHeuristic (const std::string &headerFilePath) |
| bool | isHeaderGenerated (const std::string &header) |
| bool | generateForwardingHeader (const std::string &outputFilePath, const std::string &aliasedFilePath, bool frameworkForwarder=false) |
| bool | generateAliasedHeaderFileIfTimestampChanged (const std::string &outputFilePath, const std::string &aliasedFilePath, const FileStamp &originalStamp=FileStamp::clock::now()) |
| bool | generateModuleMapFile () |
| bool | writeIfDifferent (const std::string &outputFile, const std::string &bufferbuffer) const |
| bool | generateMasterHeader () |
| bool | generateVersionHeader (const std::string &outputFile) |
| bool | generateDeprecatedHeaders () |
| bool | generateHeaderCheckExceptions () |
| bool | generateLinkerVersionScript () |
| bool | updateOrCopy (const std::filesystem::path &srcsrc, const std::filesystem::path &dstdst) noexcept |
| void | updateSymbolDescriptor (const std::string &symbol, const std::string &file, SymbolDescriptor::SourceType typetype) |
| 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) |
| std::string | currentFileOutputDir () const |
| std::string | currentFileIncludePath () const |
| bool | processHeader (const std::filesystem::path &headerFile) |
| void | parseVersionScriptContent (const std::string bufferbuffer, ParsingResult &resultresult) |
| bool | parseHeader (const std::filesystem::path &headerFile, ParsingResult &resultresult, 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 | isHeaderPublic (const std::string &headerFileName) |
| bool | isHeaderPCH (const std::string &headerFilename) |
| bool | isHeaderImpl (const std::string &headerFilename) const |
| bool | isHeaderDeprecated (const std::string &headerFilename) const |
| bool | isHeader (const std::filesystem::path &pathpath) |
| bool | isDocFileHeuristic (const std::string &headerFilePath) |
| bool | isHeaderGenerated (const std::string &header) |
| bool | generateForwardingHeader (const std::string &outputFilePath, const std::string &aliasedFilePath, bool frameworkForwarder=false) |
| bool | generateAliasedHeaderFileIfTimestampChanged (const std::string &outputFilePath, const std::string &aliasedFilePath, const FileStamp &originalStamp=FileStamp::clock::now()) |
| bool | generateModuleMapFile () |
| bool | writeIfDifferent (const std::string &outputFile, const std::string &bufferbuffer) const |
| bool | generateMasterHeader () |
| bool | generateVersionHeader (const std::string &outputFile) |
| bool | generateDeprecatedHeaders () |
| bool | generateHeaderCheckExceptions () |
| bool | generateLinkerVersionScript () |
| bool | updateOrCopy (const std::filesystem::path &srcsrc, const std::filesystem::path &dstdst) noexcept |
| void | updateSymbolDescriptor (const std::string &symbol, const std::string &file, SymbolDescriptor::SourceType typetype) |
|
inline |
Definition at line 721 of file main.cpp.
References SyncScanner().
Referenced by SyncScanner(), and main().
|
inline |
|
inlinenodiscard |
Definition at line 1614 of file main.cpp.
Referenced by parseHeader().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 906 of file main.cpp.
References utils::printFilesystemError().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 999 of file main.cpp.
References currentFileOutputDir(), CommandLineOptions::includeDir(), and CommandLineOptions::moduleName().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 984 of file main.cpp.
References CommandLineOptions::includeDir(), CommandLineOptions::privateIncludeDir(), CommandLineOptions::qpaIncludeDir(), CommandLineOptions::rhiIncludeDir(), CommandLineOptions::spiIncludeDir(), and CommandLineOptions::ssgIncludeDir().
Referenced by currentFileIncludePath(), and processHeader().
|
inlinenodiscard |
|
nodiscard |
Definition at line 1998 of file main.cpp.
References CommandLineOptions::includeDir(), CommandLineOptions::moduleName(), and CommandLineOptions::showOnly().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1790 of file main.cpp.
References CommandLineOptions::includeDir(), isHeaderPublic(), CommandLineOptions::moduleName(), utils::VersionParseResult::ok(), utils::parseVersion(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
nodiscard |
Definition at line 1957 of file main.cpp.
References CommandLineOptions::moduleName(), CommandLineOptions::showOnly(), and writeIfDifferent().
Referenced by sync().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1875 of file main.cpp.
References CommandLineOptions::binaryDir(), CommandLineOptions::moduleName(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1886 of file main.cpp.
References CommandLineOptions::versionScriptFile(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1733 of file main.cpp.
References utils::asciiToUpper(), CommandLineOptions::includeDir(), CommandLineOptions::moduleName(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
nodiscard |
Definition at line 2039 of file main.cpp.
References CommandLineOptions::binaryDir(), CommandLineOptions::moduleMapFile(), CommandLineOptions::moduleName(), and writeIfDifferent().
Referenced by sync().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1765 of file main.cpp.
References utils::asciiToUpper(), CommandLineOptions::moduleName(), CommandLineOptions::moduleVersion(), CommandLineOptions::moduleVersionMajor(), CommandLineOptions::moduleVersionMinor(), CommandLineOptions::moduleVersionPatch(), and writeIfDifferent().
Referenced by sync().
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1715 of file main.cpp.
Referenced by processHeader().
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1683 of file main.cpp.
Referenced by processHeader().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1671 of file main.cpp.
References CommandLineOptions::privateHeadersRegex().
Referenced by isHeaderPublic(), parseHeader(), and resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1676 of file main.cpp.
References isHeaderPrivate(), isHeaderQpa(), isHeaderRhi(), isHeaderSpi(), and isHeaderSsg().
Referenced by generateDeprecatedHeaders().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1651 of file main.cpp.
References CommandLineOptions::qpaHeadersRegex().
Referenced by isHeaderPublic(), and resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1656 of file main.cpp.
References CommandLineOptions::rhiHeadersRegex().
Referenced by isHeaderPublic(), and resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1666 of file main.cpp.
References CommandLineOptions::spiHeadersRegex().
Referenced by isHeaderPublic(), and resetCurrentFileInfoData().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 1661 of file main.cpp.
References CommandLineOptions::ssgHeadersRegex().
Referenced by isHeaderPublic(), and resetCurrentFileInfoData().
|
inlinenodiscard |
|
nodiscard |
Definition at line 1912 of file main.cpp.
References utils::normilizedPath(), and CommandLineOptions::sourceDir().
Referenced by sync().
|
nodiscard |
|
inlinenodiscard |
Definition at line 1273 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 1194 of file main.cpp.
References CommandLineOptions::binaryDir(), LinkerScriptCommentAlignment, and CommandLineOptions::sourceDir().
Referenced by parseHeader().
|
inline |
|
inlinenodiscard |
Definition at line 1008 of file main.cpp.
References AllChecks, CommandLineOptions::binaryDir(), CommandLineOptions::copy(), currentFileOutputDir(), GlobalHeaderRegex(), IncludeChecks, CommandLineOptions::includeDir(), isHeaderGenerated(), isHeaderPCH(), CommandLineOptions::isNonQtModule(), CommandLineOptions::minimal(), NamespaceChecks, NoChecks, parseHeader(), PrivateHeaderChecks, resetCurrentFileInfoData(), CommandLineOptions::scanAllMode(), CommandLineOptions::sourceDir(), updateOrCopy(), updateSymbolDescriptor(), CommandLineOptions::versionScriptFile(), and WeMeantItChecks.
Referenced by sync().
|
inlinenodiscard |
|
inline |
Definition at line 953 of file main.cpp.
References isHeaderPrivate(), isHeaderQpa(), isHeaderRhi(), isHeaderSpi(), isHeaderSsg(), and CommandLineOptions::sourceDir().
Referenced by processHeader().
|
inline |
|
inline |
Definition at line 736 of file main.cpp.
References AllChecks, utils::asciiToLower(), copyGeneratedHeadersToStagingDirectory(), generateDeprecatedHeaders(), generateForwardingHeader(), generateHeaderCheckExceptions(), generateLinkerVersionScript(), generateMasterHeader(), generateModuleMapFile(), generateVersionHeader(), CommandLineOptions::includeDir(), isDocFileHeuristic(), CommandLineOptions::isFramework(), isHeader(), CommandLineOptions::isNonQtModule(), makeHeaderAbsolute(), CommandLineOptions::minimal(), CommandLineOptions::moduleMapFile(), CommandLineOptions::moduleName(), NoError, processHeader(), CommandLineOptions::scanAllMode(), CommandLineOptions::stagingDir(), SyncFailed, CommandLineOptions::versionScriptFile(), and CommandLineOptions::warningsAreErrors().
Referenced by main().
|
inline |
|
noexcept |
Definition at line 1920 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 1903 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 ) const |
Definition at line 2093 of file main.cpp.
References CommandLineOptions::showOnly().
Referenced by generateDeprecatedHeaders(), generateForwardingHeader(), generateHeaderCheckExceptions(), generateLinkerVersionScript(), generateMasterHeader(), generateModuleMapFile(), and generateVersionHeader().
| bool SyncScanner::writeIfDifferent | ( | const std::string & | outputFile, |
| const std::string & | buffer ) const |