FLANG
Fortran::semantics::SemanticsContext Class Reference

Public Member Functions

 SemanticsContext (const common::IntrinsicTypeDefaultKinds &, const common::LanguageFeatureControl &, const common::LangOptions &, parser::AllCookedSources &)
const common::IntrinsicTypeDefaultKindsdefaultKinds () const
const common::LanguageFeatureControllanguageFeatures () const
const common::LangOptionslangOptions () const
int GetDefaultKind (TypeCategory) const
int doublePrecisionKind () const
int quadPrecisionKind () const
bool IsEnabled (common::LanguageFeature feature) const
template<typename A>
bool ShouldWarn (A x) const
const std::optional< parser::CharBlock > & location () const
const std::vector< std::string > & searchDirectories () const
const std::vector< std::string > & intrinsicModuleDirectories () const
const std::string & moduleDirectory () const
const std::string & moduleFileSuffix () const
bool underscoring () const
bool warningsAreErrors () const
bool debugModuleWriter () const
const evaluate::IntrinsicProcTable & intrinsics () const
const evaluate::TargetCharacteristicstargetCharacteristics () const
evaluate::TargetCharacteristicstargetCharacteristics ()
ScopeglobalScope ()
ScopeintrinsicModulesScope ()
ScopecurrentHermeticModuleFileScope ()
void set_currentHermeticModuleFileScope (Scope *scope)
parser::Messagesmessages ()
evaluate::FoldingContextfoldingContext ()
parser::AllCookedSourcesallCookedSources ()
ModuleDependencesmoduleDependences ()
std::map< const Symbol *, SourceName > & moduleFileOutputRenamings ()
SemanticsContextset_location (const std::optional< parser::CharBlock > &location)
SemanticsContextset_searchDirectories (const std::vector< std::string > &x)
SemanticsContextset_intrinsicModuleDirectories (const std::vector< std::string > &x)
SemanticsContextset_moduleDirectory (const std::string &x)
SemanticsContextset_moduleFileSuffix (const std::string &x)
SemanticsContextset_underscoring (bool x)
SemanticsContextset_warnOnNonstandardUsage (bool x)
SemanticsContextset_maxErrors (size_t x)
SemanticsContextset_warningsAreErrors (bool x)
SemanticsContextset_debugModuleWriter (bool x)
const DeclTypeSpecMakeNumericType (TypeCategory, int kind=0)
const DeclTypeSpecMakeLogicalType (int kind=0)
std::size_t maxErrors () const
bool AnyFatalError () const
bool HasError (const Symbol &)
bool HasError (const Symbol *)
bool HasError (const parser::Name &)
void SetError (const Symbol &, bool=true)
template<typename... A>
parser::MessageSay (A &&...args)
template<typename... A>
parser::MessageSay (parser::CharBlock at, A &&...args)
parser::MessageSay (parser::Message &&msg)
template<typename... A>
parser::MessageSayWithDecl (const Symbol &symbol, const parser::CharBlock &at, parser::MessageFixedText &&msg, A &&...args)
template<typename... A>
parser::MessageWarn (parser::Messages &messages, common::LanguageFeature feature, parser::CharBlock at, A &&...args)
template<typename... A>
parser::MessageWarn (parser::Messages &messages, common::UsageWarning warning, parser::CharBlock at, A &&...args)
template<typename... A>
parser::MessageWarn (parser::ContextualMessages &messages, common::LanguageFeature feature, parser::CharBlock at, A &&...args)
template<typename... A>
parser::MessageWarn (parser::ContextualMessages &messages, common::UsageWarning warning, parser::CharBlock at, A &&...args)
template<typename... A>
parser::MessageWarn (parser::ContextualMessages &messages, common::LanguageFeature feature, A &&...args)
template<typename... A>
parser::MessageWarn (parser::ContextualMessages &messages, common::UsageWarning warning, A &&...args)
template<typename... A>
parser::MessageWarn (common::LanguageFeature feature, parser::CharBlock at, A &&...args)
template<typename... A>
parser::MessageWarn (common::UsageWarning warning, parser::CharBlock at, A &&...args)
template<typename... A>
parser::MessageWarn (common::LanguageFeature feature, A &&...args)
template<typename... A>
parser::MessageWarn (common::UsageWarning warning, A &&...args)
void EmitMessages (llvm::raw_ostream &)
const ScopeFindScope (parser::CharBlock) const
ScopeFindScope (parser::CharBlock)
void UpdateScopeIndex (Scope &, parser::CharBlock)
bool IsInModuleFile (parser::CharBlock) const
const ConstructStack & constructStack () const
template<typename N>
void PushConstruct (const N &node)
void PopConstruct ()
void WarnIndexVarRedefine (const parser::CharBlock &, const Symbol &)
void CheckIndexVarRedefine (const parser::CharBlock &, const Symbol &)
void CheckIndexVarRedefine (const parser::Variable &)
void CheckIndexVarRedefine (const parser::Name &)
void ActivateIndexVar (const parser::Name &, IndexVarKind)
void DeactivateIndexVar (const parser::Name &)
SymbolVector GetIndexVars (IndexVarKind)
SourceName SaveTempName (std::string &&)
SourceName GetTempName (const Scope &)
ScopeGetBuiltinModule (const char *name)
void UseFortranBuiltinsModule ()
const ScopeGetBuiltinsScope () const
const ScopeGetCUDABuiltinsScope ()
const ScopeGetCUDADeviceScope ()
void UsePPCBuiltinTypesModule ()
void UsePPCBuiltinsModule ()
ScopeGetPPCBuiltinTypesScope ()
const ScopeGetPPCBuiltinsScope () const
parser::Program & SaveParseTree (parser::Program &&)
void MapCommonBlockAndCheckConflicts (const Symbol &)
CommonBlockList GetCommonBlocks () const
void NoteDefinedSymbol (const Symbol &)
bool IsSymbolDefined (const Symbol &) const
void DumpSymbols (llvm::raw_ostream &)
ProgramTreeSaveProgramTree (ProgramTree &&)

Static Public Member Functions

static bool IsTempName (const std::string &)

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