Lines Matching defs:SemanticsContext
73 // SemanticsContext and have BaseChecker as a virtual base class.
81 SemanticsVisitor(SemanticsContext &context)
123 SemanticsContext &context_;
128 explicit MiscChecker(SemanticsContext &context) : context_{context} {}
160 SemanticsContext &context_;
164 SemanticsContext &context, const Scope &scope) {
207 SemanticsContext &context, parser::Program &program) {
252 SemanticsContext &context, const Symbol &common) {
345 SemanticsContext::SemanticsContext(
358 SemanticsContext::~SemanticsContext() {}
360 int SemanticsContext::GetDefaultKind(TypeCategory category) const {
364 const DeclTypeSpec &SemanticsContext::MakeNumericType(
371 const DeclTypeSpec &SemanticsContext::MakeLogicalType(int kind) {
378 bool SemanticsContext::AnyFatalError() const {
382 bool SemanticsContext::HasError(const Symbol &symbol) {
385 bool SemanticsContext::HasError(const Symbol *symbol) {
388 bool SemanticsContext::HasError(const parser::Name &name) {
391 void SemanticsContext::SetError(const Symbol &symbol, bool value) {
397 void SemanticsContext::CheckError(const Symbol &symbol) {
407 bool SemanticsContext::ScopeIndexComparator::operator()(
413 auto SemanticsContext::SearchScopeIndex(parser::CharBlock source)
428 const Scope &SemanticsContext::FindScope(parser::CharBlock source) const {
429 return const_cast<SemanticsContext *>(this)->FindScope(source);
432 Scope &SemanticsContext::FindScope(parser::CharBlock source) {
437 "SemanticsContext::FindScope(): invalid source location for '%s'",
442 void SemanticsContext::UpdateScopeIndex(
458 bool SemanticsContext::IsInModuleFile(parser::CharBlock source) const {
468 void SemanticsContext::PopConstruct() {
473 parser::Message *SemanticsContext::CheckIndexVarRedefine(
488 void SemanticsContext::WarnIndexVarRedefine(
498 void SemanticsContext::CheckIndexVarRedefine(
504 void SemanticsContext::CheckIndexVarRedefine(const parser::Variable &variable) {
510 void SemanticsContext::CheckIndexVarRedefine(const parser::Name &name) {
516 void SemanticsContext::ActivateIndexVar(
525 void SemanticsContext::DeactivateIndexVar(const parser::Name &name) {
534 SymbolVector SemanticsContext::GetIndexVars(IndexVarKind kind) {
544 SourceName SemanticsContext::SaveTempName(std::string &&name) {
548 SourceName SemanticsContext::GetTempName(const Scope &scope) {
560 bool SemanticsContext::IsTempName(const std::string &name) {
564 Scope *SemanticsContext::GetBuiltinModule(const char *name) {
569 void SemanticsContext::UseFortranBuiltinsModule() {
578 void SemanticsContext::UsePPCBuiltinTypesModule() {
584 const Scope &SemanticsContext::GetCUDABuiltinsScope() {
592 const Scope &SemanticsContext::GetCUDADeviceScope() {
600 void SemanticsContext::UsePPCBuiltinsModule() {
606 parser::Program &SemanticsContext::SaveParseTree(parser::Program &&tree) {
662 void SemanticsContext::DumpSymbols(llvm::raw_ostream &os) {
666 ProgramTree &SemanticsContext::SaveProgramTree(ProgramTree &&tree) {
752 void SemanticsContext::MapCommonBlockAndCheckConflicts(const Symbol &common) {
759 CommonBlockList SemanticsContext::GetCommonBlocks() const {
766 void SemanticsContext::NoteDefinedSymbol(const Symbol &symbol) {
770 bool SemanticsContext::IsSymbolDefined(const Symbol &symbol) const {