Lines Matching defs:ContextOr
519 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile);
520 if (!ContextOr)
521 return ContextOr.takeError();
523 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext();
581 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile);
582 if (!ContextOr)
583 return ContextOr.takeError();
585 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext();
599 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile);
600 if (!ContextOr)
601 return ContextOr.takeError();
612 if (ContextOr->IsValid()) {
613 TypeQuery query(*ContextOr, ConstString(Name), Opts);
625 if (ContextOr->IsValid()) {
626 TypeQuery query(*ContextOr, ConstString(MangledName), Opts);
681 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile);
682 if (!ContextOr)
683 return ContextOr.takeError();
685 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext();