FLANG
Fortran::parser::Message Class Reference
Inheritance diagram for Fortran::parser::Message:
Fortran::common::ReferenceCounted< Message >

Public Types

using Reference = common::CountedReference<Message>

Public Member Functions

 Message (const Message &)=default
 Message (Message &&)=default
Messageoperator= (const Message &)=default
Messageoperator= (Message &&)=default
 Message (ProvenanceRange pr, const MessageFixedText &t)
 Message (ProvenanceRange pr, const MessageFormattedText &s)
 Message (ProvenanceRange pr, MessageFormattedText &&s)
 Message (ProvenanceRange pr, const MessageExpectedText &t)
 Message (common::LanguageFeature feature, ProvenanceRange pr, const MessageFixedText &t)
 Message (common::LanguageFeature feature, ProvenanceRange pr, const MessageFormattedText &s)
 Message (common::LanguageFeature feature, ProvenanceRange pr, MessageFormattedText &&s)
 Message (common::UsageWarning warning, ProvenanceRange pr, const MessageFixedText &t)
 Message (common::UsageWarning warning, ProvenanceRange pr, const MessageFormattedText &s)
 Message (common::UsageWarning warning, ProvenanceRange pr, MessageFormattedText &&s)
 Message (CharBlock csr, const MessageFixedText &t)
 Message (CharBlock csr, const MessageFormattedText &s)
 Message (CharBlock csr, MessageFormattedText &&s)
 Message (CharBlock csr, const MessageExpectedText &t)
 Message (common::LanguageFeature feature, CharBlock csr, const MessageFixedText &t)
 Message (common::LanguageFeature feature, CharBlock csr, const MessageFormattedText &s)
 Message (common::LanguageFeature feature, CharBlock csr, MessageFormattedText &&s)
 Message (common::UsageWarning warning, CharBlock csr, const MessageFixedText &t)
 Message (common::UsageWarning warning, CharBlock csr, const MessageFormattedText &s)
 Message (common::UsageWarning warning, CharBlock csr, MessageFormattedText &&s)
template<typename RANGE, typename A, typename... As>
 Message (RANGE r, const MessageFixedText &t, A &&x, As &&...xs)
template<typename RANGE, typename A, typename... As>
 Message (common::LanguageFeature feature, RANGE r, const MessageFixedText &t, A &&x, As &&...xs)
template<typename RANGE, typename A, typename... As>
 Message (common::UsageWarning warning, RANGE r, const MessageFixedText &t, A &&x, As &&...xs)
Reference attachment () const
void SetContext (Message *c)
MessageAttach (Message *)
MessageAttach (std::unique_ptr< Message > &&)
template<typename... A>
MessageAttach (A &&...args)
bool SortBefore (const Message &that) const
bool IsFatal () const
Severity severity () const
Messageset_severity (Severity)
std::optional< common::LanguageFeature > languageFeature () const
Messageset_languageFeature (common::LanguageFeature)
std::optional< common::UsageWarning > usageWarning () const
Messageset_usageWarning (common::UsageWarning)
std::string ToString () const
std::optional< ProvenanceRangeGetProvenanceRange (const AllCookedSources &) const
void Emit (llvm::raw_ostream &, const AllCookedSources &, bool echoSourceLine=true, const common::LanguageFeatureControl *hintFlags=nullptr) const
void ResolveProvenances (const AllCookedSources &)
bool IsMergeable () const
bool Merge (const Message &)
bool operator== (const Message &that) const
bool operator!= (const Message &that) const
Public Member Functions inherited from Fortran::common::ReferenceCounted< Message >
int references () const
void TakeReference ()
void DropReference ()

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