FLANG
Public Member Functions | List of all members
Fortran::common::LanguageFeatureControl Class Reference

Public Member Functions

 LanguageFeatureControl (const LanguageFeatureControl &)=default
 
void Enable (LanguageFeature f, bool yes=true)
 
void EnableWarning (LanguageFeature f, bool yes=true)
 
void EnableWarning (UsageWarning w, bool yes=true)
 
void EnableWarning (LanguageFeatureOrWarning flag, bool yes=true)
 
void WarnOnAllNonstandard (bool yes=true)
 
bool IsWarnOnAllNonstandard () const
 
void WarnOnAllUsage (bool yes=true)
 
bool IsWarnOnAllUsage () const
 
void DisableAllNonstandardWarnings ()
 
void DisableAllUsageWarnings ()
 
void DisableAllWarnings ()
 
bool AreWarningsDisabled () const
 
bool IsEnabled (LanguageFeature f) const
 
bool ShouldWarn (LanguageFeature f) const
 
bool ShouldWarn (UsageWarning w) const
 
std::optional< LanguageControlFlag > FindWarning (std::string_view input)
 
bool EnableWarning (std::string_view input)
 
void AddAlternativeCliSpelling (LanguageFeature f, std::string input)
 
void AddAlternativeCliSpelling (UsageWarning w, std::string input)
 
void ReplaceCliCanonicalSpelling (LanguageFeature f, std::string input)
 
void ReplaceCliCanonicalSpelling (UsageWarning w, std::string input)
 
std::string_view getDefaultCliSpelling (LanguageFeature f) const
 
std::string_view getDefaultCliSpelling (UsageWarning w) const
 
std::vector< const char * > GetNames (LogicalOperator) const
 
std::vector< const char * > GetNames (RelationalOperator) const
 

The documentation for this class was generated from the following files: