The message.cpp
File Reference
Included Headers
Functions Index
static bool | checkWarnMessage (QCString result) |
static void | format_warn (const QCString &file, int line, const QCString &text) |
static void | handle_warn_as_error () |
static void | do_warn (const QCString &file, int line, const char *prefix, fmt::string_view fmt, fmt::format_args args) |
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 | warn_flush () |
void | initWarningFormat () |
void | finishWarnExit () |
Variables Index
static QCString | g_warnFormat |
static QCString | g_warnLineFormat |
static const char * | g_warningStr = "warning: " |
static const char * | g_errorStr = "error: " |
static FILE * | g_warnFile = stderr |
static WARN_AS_ERROR_t | g_warnBehavior = WARN_AS_ERROR_t::NO |
static QCString | g_warnlogFile |
static bool | g_warnlogTemp = false |
static std::atomic_bool | g_warnStat = false |
static std::mutex | g_mutex |
static std::unordered_set< std::string > | g_warnHash |
Functions
checkWarnMessage()
| static |
Definition at line 46 of file message.cpp.
References QCString::data, g_warnHash and QCString::length.
Referenced by err_, format_warn, term_ and warn_uncond_.
do_warn()
| static |
Definition at line 122 of file message.cpp.
References format_warn, handle_warn_as_error and prefix.
Referenced by warn_.
err_()
|
Definition at line 175 of file message.cpp.
References checkWarnMessage, g_errorStr, g_mutex, g_warnFile and handle_warn_as_error.
Referenced by err_fmt.
err_full_()
|
Definition at line 186 of file message.cpp.
References format_warn and g_errorStr.
Referenced by err_full_fmt.
finishWarnExit()
|
Definition at line 295 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.
format_warn()
Definition at line 56 of file message.cpp.
References checkWarnMessage, Config_getBool, QCString::data, g_mutex, g_warnBehavior, g_warnFile, g_warnFormat, g_warnlogFile, g_warnStat, QCString::isEmpty, QCString::length, msg, QCString::setNum and substitute.
handle_warn_as_error()
| static |
Definition at line 101 of file message.cpp.
References Config_getBool, QCString::data, g_mutex, g_warnBehavior, g_warnFile, g_warnlogFile, g_warnStat, QCString::length and qPrint.
Referenced by do_warn, err_ and warn_uncond_.
initWarningFormat()
|
Definition at line 237 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.
msg_()
|
Definition at line 130 of file message.cpp.
References Config_getBool, Debug::elapsedTime, g_mutex, Debug::isFlagSet and Debug::Time.
Referenced by msg_fmt.
term_()
|
Definition at line 193 of file message.cpp.
References checkWarnMessage, Config_getBool, g_errorStr, g_mutex, g_warnFile and g_warnlogFile.
Referenced by term_fmt.
warn_()
|
Definition at line 145 of file message.cpp.
References Config_getBool, do_warn, DocError, g_warningStr, Generic, IncompleteDoc, Layout and Undocumented.
Referenced by warn_fmt.
warn_flush()
|
warn_line()
|
Definition at line 215 of file message.cpp.
References g_warnLineFormat, QCString::isEmpty, QCString::setNum and substitute.
Referenced by addMemberFunction, checkPageRelations, computePageRelations and findGlobalMember.
warn_uncond_()
|
Definition at line 164 of file message.cpp.
References checkWarnMessage, g_errorStr, g_mutex, g_warnFile, g_warningStr and handle_warn_as_error.
Referenced by warn_uncond_fmt.
Variables
g_errorStr
| static |
Definition at line 35 of file message.cpp.
Referenced by err_, err_full_, initWarningFormat, term_ and warn_uncond_.
g_mutex
| static |
Definition at line 41 of file message.cpp.
Referenced by err_, format_warn, handle_warn_as_error, msg_, term_ and warn_uncond_.
g_warnBehavior
| static |
Definition at line 37 of file message.cpp.
Referenced by finishWarnExit, format_warn, handle_warn_as_error and initWarningFormat.
g_warnFile
| static |
Definition at line 36 of file message.cpp.
Referenced by err_, finishWarnExit, format_warn, handle_warn_as_error, initWarningFormat, term_, warn_flush and warn_uncond_.
g_warnFormat
| static |
Definition at line 32 of file message.cpp.
Referenced by format_warn and initWarningFormat.
g_warnHash
| static |
Definition at line 42 of file message.cpp.
Referenced by checkWarnMessage.
g_warningStr
| static |
Definition at line 34 of file message.cpp.
Referenced by initWarningFormat, warn_ and warn_uncond_.
g_warnLineFormat
| static |
Definition at line 33 of file message.cpp.
Referenced by initWarningFormat and warn_line.
g_warnlogFile
| static |
Definition at line 38 of file message.cpp.
Referenced by finishWarnExit, format_warn, handle_warn_as_error, initWarningFormat and term_.
g_warnlogTemp
| static |
Definition at line 39 of file message.cpp.
Referenced by finishWarnExit and initWarningFormat.
g_warnStat
| static |
Definition at line 40 of file message.cpp.
Referenced by finishWarnExit, format_warn and handle_warn_as_error.
Generated via doxygen2docusaurus by Doxygen 1.14.0.