Lines Matching refs:ContextOr
455 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile); in findFunctions() local
456 if (!ContextOr) in findFunctions()
457 return ContextOr.takeError(); in findFunctions()
459 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext(); in findFunctions()
511 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile); in findNamespaces() local
512 if (!ContextOr) in findNamespaces()
513 return ContextOr.takeError(); in findNamespaces()
515 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext(); in findNamespaces()
529 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile); in findTypes() local
530 if (!ContextOr) in findTypes()
531 return ContextOr.takeError(); in findTypes()
533 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext(); in findTypes()
584 Expected<CompilerDeclContext> ContextOr = getDeclContext(Symfile); in findVariables() local
585 if (!ContextOr) in findVariables()
586 return ContextOr.takeError(); in findVariables()
588 ContextOr->IsValid() ? *ContextOr : CompilerDeclContext(); in findVariables()