tfel
Loading...
Searching...
No Matches
MFrontWarningMode.hxx File Reference
#include <string>
#include <vector>
#include <string_view>
#include "MFront/MFrontConfig.hxx"

Namespaces

namespace  mfront
 This namespace contains material used to build the MFront code generator.

Functions

MFRONT_VISIBILITY_EXPORT bool mfront::getWarningMode () noexcept
MFRONT_VISIBILITY_EXPORT void mfront::setWarningMode (const bool) noexcept
 enable or diable the warning mode
MFRONT_VISIBILITY_EXPORT bool mfront::getWarningErrorMode () noexcept
MFRONT_VISIBILITY_EXPORT void mfront::setWarningErrorMode (const bool) noexcept
 enable or diable the warning error mode
MFRONT_VISIBILITY_EXPORT void mfront::reportWarning (std::string_view)
 report a warning if warning mode is enabled
MFRONT_VISIBILITY_EXPORT void mfront::reportWarning (const std::vector< std::string > &)
 report a list of warnings if warning mode is enabled
MFRONT_VISIBILITY_EXPORT bool mfront::ignoreSafeOptionForWarnings () noexcept
MFRONT_VISIBILITY_EXPORT void mfront::setIgnoreSafeOptionForWarnings (const bool) noexcept
 set if the safe option for keywords or code blocks shall be ignored

Detailed Description

Author
Thomas Helfer
Date
17/01/2025