Doxygen
|
Go to the source code of this file.
Classes | |
struct | fmt::formatter< T > |
struct | fmt::formatter< QCString > |
adds support for formatting QCString More... | |
struct | fmt::formatter< Protection > |
adds support for formatting Protected More... | |
struct | fmt::formatter< Specifier > |
adds support for formatting Specifier More... | |
struct | fmt::formatter< MethodTypes > |
adds support for formatting MethodTypes More... | |
struct | fmt::formatter< RelatesType > |
adds support for formatting RelatesType More... | |
struct | fmt::formatter< Relationship > |
adds support for formatting RelationShip More... | |
struct | fmt::formatter< SrcLangExt > |
adds support for formatting SrcLangExt More... | |
struct | fmt::formatter< MemberType > |
adds support for formatting MemberType More... | |
struct | fmt::formatter< TypeSpecifier > |
adds support for formatting TypeSpecifier More... | |
struct | fmt::formatter< EntryType > |
adds support for formatting EntryType More... | |
struct | fmt::formatter< MemberListType > |
adds support for formatting MemberListType More... | |
Namespaces | |
namespace | fmt |
Macros | |
#define | msg_no_newline_allowed(x) |
#define | msg_newline_required(x) |
#define | msg(fmt, ...) |
#define | warn(file, line, fmt, ...) |
#define | warn_undoc(file, line, fmt, ...) |
#define | warn_incomplete_doc(file, line, fmt, ...) |
#define | warn_doc_error(file, line, fmt, ...) |
#define | warn_layout(file, line, fmt, ...) |
#define | warn_uncond(fmt, ...) |
#define | err(fmt, ...) |
#define | err_full(file, line, fmt, ...) |
#define | term(fmt, ...) |
Enumerations | |
enum class | WarningType { Generic , Undocumented , IncompleteDoc , DocError , Layout } |
Functions | |
void | msg_ (fmt::string_view fmt, fmt::format_args args) |
void | warn_ (WarningType type, const QCString &file, int line, fmt::string_view fmt, fmt::format_args args) |
void | warn_uncond_ (fmt::string_view fmt, fmt::format_args args) |
void | err_ (fmt::string_view fmt, fmt::format_args args) |
void | err_full_ (const QCString &file, int line, fmt::string_view fmt, fmt::format_args args) |
void | term_ (fmt::string_view fmt, fmt::format_args args) |
QCString | warn_line (const QCString &file, int line) |
void | initWarningFormat () |
void | warn_flush () |
void | finishWarnExit () |
template<typename ... Args> | |
void | err_fmt (fmt::format_string< Args... > fmt, Args &&... args) |
template<typename ... Args> | |
void | err_full_fmt (const QCString &file, int line, fmt::format_string< Args... > fmt, Args &&... args) |
template<typename ... Args> | |
void | term_fmt (fmt::format_string< Args... > fmt, Args &&... args) |
template<typename ... Args> | |
void | msg_fmt (fmt::format_string< Args... > fmt, Args &&... args) |
template<typename ... Args> | |
void | warn_fmt (WarningType type, const QCString &file, int line, fmt::format_string< Args... > fmt, Args &&... args) |
template<typename ... Args> | |
void | warn_uncond_fmt (fmt::format_string< Args... > fmt, Args &&... args) |
template<std::size_t N> | |
constexpr bool | has_newline_at_end (const char(&str)[N]) |
#define err | ( | fmt, | |
... ) |
Definition at line 127 of file message.h.
Referenced by MemberDefImpl::_writeReimplements(), FileDefImpl::acquireFileVersion(), DefinitionImpl::addInnerCompound(), addValidAliasToMap(), adjustBoolSetting(), adjustColorStyleSetting(), adjustConfiguration(), adjustStringSetting(), RTFGenerator::beginRTFDocument(), bindIntParameter(), bindTextParameter(), Config::checkAndCorrect(), checkFileName(), checkList(), checkPngResult(), classInheritedProtectionLevel(), convertMapFile(), DotFilePatcher::convertMapFile(), copyExtraFiles(), copyFile(), copyIcon(), copyLatexStyleSheet(), copyLogo(), ResourceMgr::copyResourceAs(), copyStyleSheet(), MemberList::countDecMembers(), createCroppedEPS(), createCroppedPDF(), createDVIFile(), createEPSbboxFile(), PerlModGenerator::createOutputDir(), PerlModGenerator::createOutputFile(), createPNG(), createPostscriptFile(), HtmlHelp::Private::createProjectFile(), DotManager::createRunner(), FlowChart::createSVG(), createSVGFromPDF(), createSVGFromPDFviaInkscape(), RTFGenerator::decIndentLevel(), NamespaceLinkedRefMap::declVisible(), elemIsVisible(), Htags::execute(), extractBoundingBox(), fileToString(), DocParser::findAndCopyImage(), FlowChart::findLabel(), finishWarnExit(), generateDEF(), generateFormula(), generateOutput(), CitationManager::generatePage(), generateSqlite3(), generateXML(), generateXMLForClass(), generateXMLForConcept(), generateXMLForDir(), generateXMLForFile(), generateXMLForGroup(), generateXMLForModule(), generateXMLForNamespace(), generateXMLForPage(), FilterCache::getFileContentsPipe(), DocPara::handleShowDate(), hasNonReferenceNestedGroupRec(), hasNonReferenceNestedNamespaceRec(), hasNonReferenceSuperClassRec(), LatexDocVisitor::incIndentLevel(), RTFDocVisitor::incIndentLevel(), RTFGenerator::incIndentLevel(), RTFGenerator::init(), initializeTables(), initializeViews(), initWarningFormat(), CitationManager::insertCrossReferencesForBibFile(), FileDefImpl::insertMember(), GroupDefImpl::insertMember(), NamespaceDefImpl::insertMember(), ClassDefImpl::internalInsertMember(), ClassDefImpl::isBaseClass(), ClassDefImpl::isSubClass(), VhdlDocGen::isSubClass(), loadExtensions(), Htags::loadFilemap(), loadStylesheet(), openDbConnection(), DocbookDocVisitor::operator()(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), PerlModDocVisitor::operator()(), PerlModDocVisitor::operator()(), PerlModDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), TextDocVisitor::operator()(), XmlDocVisitor::operator()(), DotGraph::prepareDotFile(), prepareStatement(), preProcessFile(), RTFGenerator::preProcessFileInplace(), DotRunner::readBoundingBox(), readCodeFragment(), readConfiguration(), readInputFile(), readTagFile(), readTextFileByName(), FileDefImpl::removeMember(), GroupDefImpl::removeMember(), resetPDFSize(), DotFilePatcher::run(), runHtmlHelpCompiler(), runQHelpGenerator(), StyleData::setStyle(), showDate(), SysTimeKeeper::stop(), testRTFOutput(), updateEPSBoundingBox(), updateLanguageMapping(), SearchIndexExternal::write(), ResourceMgr::writeCategory(), writeCombineScript(), MemberDefImpl::writeDeclaration(), writeDefaultLayoutFile(), FileDefImpl::writeDetailedDescription(), writeDiaGraphFromFile(), ConceptDefImpl::writeDocumentation(), DirDefImpl::writeDocumentation(), FileDefImpl::writeDocumentation(), GroupDefImpl::writeDocumentation(), MemberList::writeDocumentation(), ModuleDefImpl::writeDocumentation(), NamespaceDefImpl::writeDocumentation(), ClassDefImpl::writeDocumentationContents(), HtmlGenerator::writeExternalSearchPage(), ClassDiagram::writeFigure(), FlowChart::writeFlowChart(), writeJavasScriptSearchDataPage(), MemberList::writePlainDeclarations(), HtmlGenerator::writeSearchPage(), DefinitionImpl::writeSourceDef(), HtmlGenerator::writeStyleInfo(), and writeTagFile().
#define err_full | ( | file, | |
line, | |||
fmt, | |||
... ) |
Definition at line 132 of file message.h.
Referenced by NamespaceDefImpl::compoundTypeString(), do_mscgen_generate(), DotRunner::run(), runPlantumlContent(), writeDiaGraphFromFile(), and writeMscGraphFromFile().
#define msg | ( | fmt, | |
... ) |
Definition at line 94 of file message.h.
Referenced by MemberDefImpl::_writeCallerGraph(), MemberDefImpl::_writeCallGraph(), FileDefImpl::acquireFileVersion(), adjustConfiguration(), Statistics::begin(), checkAndUpdatePath(), devUsage(), anonymous_namespace{tagreader.cpp}::TagFileParser::error(), LayoutParser::error(), exitDoxygen(), format_warn(), generateConceptDocs(), generateConfigFile(), generateDocsForClassList(), generateExampleDocs(), generateFileDocs(), generateFileSources(), generateFormula(), generateNamespaceClassDocs(), generateNamespaceConceptDocs(), generateNamespaceDocs(), generateOutput(), generatePageDocs(), generateSqlite3(), generateXML(), generateXMLForClass(), LayoutDocManager::init(), FormulaManager::initFromRepository(), initializeTables(), initializeViews(), loadExtensions(), loadStylesheet(), LayoutDocManager::parse(), XMLParser::parse(), parseFile(), parseFilesMultiThreading(), parseInput(), VHDLOutlineParser::parseInput(), parseMain(), parseMain(), parseMain(), parseMain(), parseTagFile(), Statistics::print(), Debug::printFlags(), processData(), readDir(), readIncludeFile(), readTagFile(), reportError(), DotManager::run(), runPlantumlContent(), AutoTrace::setExit(), setTranslator(), stopDoxygen(), LayoutNavEntry::url(), usage(), version(), DirDefImpl::writeDirectoryGraph(), ClassDefImpl::writeDocumentationForInnerClasses(), GroupDefImpl::writeGroupGraph(), writeIndex(), and writeIndexHierarchyEntries().
#define msg_newline_required | ( | x | ) |
#define msg_no_newline_allowed | ( | x | ) |
#define term | ( | fmt, | |
... ) |
Definition at line 137 of file message.h.
Referenced by SearchIndexInfo::add(), Qhp::addContentsItem(), addTillEndOfString(), adjustConfiguration(), checkPageRelations(), compareDoxyfile(), computePageRelations(), createOutputDirectory(), createSubDirs(), generateConfigFile(), FormulaManager::generateImages(), generateOutput(), DocbookGenerator::init(), HtmlGenerator::init(), LatexGenerator::init(), ManGenerator::init(), RTFGenerator::init(), Crawlmap::initialize(), DocSets::initialize(), EclipseHelp::initialize(), HtmlHelp::initialize(), HtmlHelpRecoder::initialize(), Qhp::initialize(), Sitemap::initialize(), parseInput(), DotGraph::prepareDotFile(), processUntilMatchingTerminator(), OutputGenerator::startPlainFile(), transcodeCharacterBuffer(), writeDotGraphFromFile(), writeDotImageMapFromFile(), ClassDiagram::writeFigure(), DotGfxHierarchyTable::writeGraph(), writeJavasScriptSearchDataPage(), writeLatexMakefile(), and writeMakeBat().
#define warn | ( | file, | |
line, | |||
fmt, | |||
... ) |
Definition at line 97 of file message.h.
Referenced by addAnchor(), addClassToGroups(), addConceptToGroups(), addDirToGroups(), ModuleManager::addDocs(), addExampleToGroups(), addGroupToGroups(), addIncludeFile(), addMemberDocs(), addMemberFunction(), addMemberToGroups(), addModuleToGroups(), addNamespaceToGroups(), addRelatedPage(), addSection(), addXRefItem(), buildExampleList(), buildFileList(), buildFunctionList(), buildGroupListFiltered(), buildInterfaceAndServiceList(), checkBlocks(), checkFormula(), DocGroup::close(), convertCppComments(), decrLevel(), endCondSection(), endCondSection(), DocGroup::enterCompound(), anonymous_namespace{tagreader.cpp}::TagFileParser::error(), Markdown::Private::extractTitleId(), findClassRelation(), findDefineDocumentation(), findDirDocumentation(), findEnumDocumentation(), findGlobalMember(), findMainPage(), findMember(), getConvertLatexMacro(), MemberDefImpl::getOutputFileBase(), DocPara::handleCommand(), DocPara::handleDoxyConfig(), handleElse(), handleElseIf(), handleEndIf(), handleEndParBlock(), handleExample(), handleFileInfoResult(), handleInheritanceGraph(), handleMemberOf(), vhdl::parser::VhdlErrorHandler::handleOtherError(), handleParBlock(), vhdl::parser::VhdlErrorHandler::handleParseError(), handleRelated(), handleRelatedAlso(), handleSubpage(), handleToc(), vhdl::parser::VhdlErrorHandler::handleUnexpectedToken(), CitationManager::insertCrossReferencesForBibFile(), ClassDefImpl::internalInsertMember(), DocGroup::leaveFile(), vhdl::parser::VhdlTokenManagerErrorHandler::lexicalError(), vhdl::parser::VhdlTokenManagerErrorHandler::lexicalError(), loadExtensions(), loadStylesheet(), otherCaseDone(), CondParser::parse(), CommentScanner::parseCommentBlock(), parseIncludeOptions(), parseMain(), parsePrototype(), parsePrototype(), pop_state(), pop_state(), pop_state(), Preprocessor::processFile(), processSection(), readIncludeFile(), resolveClassNestingRelations(), subrHandleCommentBlock(), tryAddEnumDocsToGroupMember(), MemberDefImpl::virtualness(), MemberDefImpl::warnIfUndocumented(), writeDirTreeNode(), writeExceptionListImpl(), and writeGroupTreeNode().
#define warn_doc_error | ( | file, | |
line, | |||
fmt, | |||
... ) |
Definition at line 112 of file message.h.
Referenced by DocParser::checkArgumentName(), DocParser::checkRetvalName(), DocParser::checkUnOrMultipleDocumentedParams(), DocParser::defaultHandleToken(), DocAnchor::DocAnchor(), DocCite::DocCite(), DocEmoji::DocEmoji(), DocFormula::DocFormula(), DocHtmlCaption::DocHtmlCaption(), DocRef::DocRef(), DocParser::errorHandleDefaultToken(), DocParser::findAndCopyImage(), DocParser::handleAHref(), DocParser::handleAnchor(), DocPara::handleCite(), DocPara::handleCommand(), DocPara::handleDoxyConfig(), DocPara::handleEmoji(), DocPara::handleFile(), DocPara::handleHtmlEndTag(), DocPara::handleHtmlStartTag(), DocPara::handleIFile(), DocPara::handleILine(), DocParser::handleImage(), DocParser::handleImg(), DocPara::handleInclude(), DocPara::handleIncludeOperator(), DocParser::handleInternalRef(), DocPara::handleLink(), DocParser::handleLinkedWord(), DocParser::handlePrefix(), DocPara::handleRef(), DocPara::handleSection(), DocPara::handleShowDate(), DocPara::handleStartCode(), DocParser::handleStyleArgument(), DocParser::handleStyleLeave(), DocParser::handleUnclosedStyleCommands(), DocDiaFile::parse(), DocDotFile::parse(), DocHRef::parse(), DocHtmlBlockQuote::parse(), DocHtmlCaption::parse(), DocHtmlDescList::parse(), DocHtmlDescTitle::parse(), DocHtmlDetails::parse(), DocHtmlHeader::parse(), DocHtmlList::parse(), DocHtmlRow::parse(), DocHtmlSummary::parse(), DocHtmlTable::parse(), DocInclude::parse(), DocIncOperator::parse(), DocIndexEntry::parse(), DocInternal::parse(), DocLink::parse(), DocMscFile::parse(), DocPara::parse(), DocParamList::parse(), DocPlantUmlFile::parse(), DocRef::parse(), DocRoot::parse(), DocSecRefItem::parse(), DocSecRefList::parse(), DocSection::parse(), DocText::parse(), DocHtmlList::parseXml(), DocHtmlRow::parseXml(), DocParamList::parseXml(), DocParser::processCopyDoc(), readIncludeFile(), DocParser::readTextFileByName(), and MemberDefImpl::warnIfUndocumentedParams().
#define warn_incomplete_doc | ( | file, | |
line, | |||
fmt, | |||
... ) |
Definition at line 107 of file message.h.
Referenced by DocParser::checkUnOrMultipleDocumentedParams().
#define warn_layout | ( | file, | |
line, | |||
fmt, | |||
... ) |
Definition at line 117 of file message.h.
Referenced by LayoutParser::error(), mergeDocEntryLists(), LayoutParser::startElement(), and LayoutParser::startNavEntry().
#define warn_uncond | ( | fmt, | |
... ) |
Definition at line 122 of file message.h.
Referenced by MemberDefImpl::_writeCallerGraph(), MemberDefImpl::_writeCallGraph(), Config::checkAndCorrect(), checkMarkdownMainfile(), computeVerifiedDotPath(), getCurrentDateTime(), FormulaManager::initFromRepository(), minClassDistance(), parseInput(), readDir(), readFileOrDirectory(), searchInputFiles(), Config::updateObsolete(), HtmlEntityMapper::validate(), ClassDefImpl::writeCollaborationGraph(), GroupDefImpl::writeGroupGraph(), FileDefImpl::writeIncludedByGraph(), FileDefImpl::writeIncludeGraph(), and ClassDefImpl::writeInheritanceGraph().
#define warn_undoc | ( | file, | |
line, | |||
fmt, | |||
... ) |
Definition at line 102 of file message.h.
Referenced by computeClassRelations(), findMember(), MemberDefImpl::warnIfUndocumented(), and warnUndocumentedNamespaces().
|
strong |
void err_ | ( | fmt::string_view | fmt, |
fmt::format_args | args ) |
Definition at line 159 of file message.cpp.
References g_errorStr, g_warnFile, and handle_warn_as_error().
Referenced by err_fmt().
void err_fmt | ( | fmt::format_string< Args... > | fmt, |
Args &&... | args ) |
void err_full_ | ( | const QCString & | file, |
int | line, | ||
fmt::string_view | fmt, | ||
fmt::format_args | args ) |
Definition at line 167 of file message.cpp.
References format_warn(), and g_errorStr.
Referenced by err_full_fmt().
void err_full_fmt | ( | const QCString & | file, |
int | line, | ||
fmt::format_string< Args... > | fmt, | ||
Args &&... | args ) |
Definition at line 52 of file message.h.
References err_full_().
void finishWarnExit | ( | ) |
Definition at line 276 of file message.cpp.
References err, Portable::fclose(), g_warnBehavior, g_warnFile, g_warnlogFile, g_warnlogTemp, g_warnStat, Portable::openInputStream(), and Portable::unlink().
Referenced by generateOutput().
|
constexpr |
void initWarningFormat | ( | ) |
Definition at line 218 of file message.cpp.
References Config_getEnum, Config_getString, FileInfo::dirPath(), err, Dir::exists(), Portable::fclose(), Portable::fopen(), g_errorStr, g_warnBehavior, g_warnFile, g_warnFormat, g_warningStr, g_warnLineFormat, g_warnlogFile, g_warnlogTemp, Dir::mkdir(), and Portable::pid().
Referenced by checkConfiguration().
void msg_ | ( | fmt::string_view | fmt, |
fmt::format_args | args ) |
Definition at line 117 of file message.cpp.
References Config_getBool, Debug::elapsedTime(), g_mutex, Debug::isFlagSet(), and Debug::Time.
Referenced by msg_fmt().
void msg_fmt | ( | fmt::format_string< Args... > | fmt, |
Args &&... | args ) |
void term_ | ( | fmt::string_view | fmt, |
fmt::format_args | args ) |
Definition at line 174 of file message.cpp.
References Config_getBool, g_errorStr, g_mutex, g_warnFile, and g_warnlogFile.
Referenced by term_fmt().
void term_fmt | ( | fmt::format_string< Args... > | fmt, |
Args &&... | args ) |
void warn_ | ( | WarningType | type, |
const QCString & | file, | ||
int | line, | ||
fmt::string_view | fmt, | ||
fmt::format_args | args ) |
Definition at line 132 of file message.cpp.
References Config_getBool, do_warn(), DocError, g_warningStr, Generic, IncompleteDoc, Layout, and Undocumented.
Referenced by warn_fmt().
void warn_flush | ( | ) |
void warn_fmt | ( | WarningType | type, |
const QCString & | file, | ||
int | line, | ||
fmt::format_string< Args... > | fmt, | ||
Args &&... | args ) |
Definition at line 196 of file message.cpp.
References g_warnLineFormat, QCString::isEmpty(), QCString::setNum(), and substitute().
Referenced by addMemberFunction(), checkPageRelations(), computePageRelations(), and findGlobalMember().
void warn_uncond_ | ( | fmt::string_view | fmt, |
fmt::format_args | args ) |
Definition at line 151 of file message.cpp.
References g_warnFile, g_warningStr, and handle_warn_as_error().
Referenced by warn_uncond_fmt().
void warn_uncond_fmt | ( | fmt::format_string< Args... > | fmt, |
Args &&... | args ) |
Definition at line 76 of file message.h.
References warn_uncond_().