Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Typedefs | |
using | TranslatorMessageVector = std::vector<TranslatorMessage> |
Functions | |
void | loadCPP (Translator &translator, const QStringList &filenames, ConversionData &cd, bool *fail) |
void | collectMessages (TranslatorMessageVector &result, TranslationRelatedStore &store) |
TranslatorMessage | translatorMessage (const TranslationRelatedStore &store, const QString &id, bool plural, bool isID, bool isWarningOnly=false) |
void | correctAstTranslationContext (ReadSynchronizedRef< TranslationRelatedStore > &ast, WriteSynchronizedRef< TranslationRelatedStore > &newAst, const TranslationStores &qDecl) |
void | finalize (ReadSynchronizedRef< TranslationRelatedStore > &ast, WriteSynchronizedRef< TranslationRelatedStore > &newAst) |
bool | stringContainsTranslationInformation (llvm::StringRef ba) |
bool | hasAliases () |
std::vector< std::string > | getAliasFunctionDefinition () |
using ClangCppParser::TranslatorMessageVector = std::vector<TranslatorMessage> |
Definition at line 298 of file cpp_clang.h.
void ClangCppParser::collectMessages | ( | TranslatorMessageVector & | result, |
TranslationRelatedStore & | store ) |
Definition at line 529 of file cpp_clang.cpp.
References TranslationRelatedStore::isValid().
void ClangCppParser::correctAstTranslationContext | ( | ReadSynchronizedRef< TranslationRelatedStore > & | ast, |
WriteSynchronizedRef< TranslationRelatedStore > & | newAst, | ||
const TranslationStores & | qDecl ) |
Definition at line 705 of file cpp_clang.cpp.
void ClangCppParser::finalize | ( | ReadSynchronizedRef< TranslationRelatedStore > & | ast, |
WriteSynchronizedRef< TranslationRelatedStore > & | newAst ) |
Definition at line 698 of file cpp_clang.cpp.
std::vector< std::string > ClangCppParser::getAliasFunctionDefinition | ( | ) |
Definition at line 165 of file cpp_clang.cpp.
bool ClangCppParser::hasAliases | ( | ) |
Definition at line 395 of file cpp_clang.cpp.
void ClangCppParser::loadCPP | ( | Translator & | translator, |
const QStringList & | filenames, | ||
ConversionData & | cd, | ||
bool * | fail ) |
Definition at line 403 of file cpp_clang.cpp.
References LupdateToolActionFactory::LupdateToolActionFactory().
bool ClangCppParser::stringContainsTranslationInformation | ( | llvm::StringRef | ba | ) |
Definition at line 284 of file cpp_clang.cpp.
Referenced by LupdatePPCallbacks::SourceRangeSkipped().
TranslatorMessage ClangCppParser::translatorMessage | ( | const TranslationRelatedStore & | store, |
const QString & | id, | ||
bool | plural, | ||
bool | isID, | ||
bool | isWarningOnly = false ) |
Definition at line 636 of file cpp_clang.cpp.
References TranslatorMessage::setExtras(), TranslatorMessage::setLineNumber(), and TranslatorMessage::setWarningOnly().