Lines Matching refs:SemaRef
71 SourceLocation Loc, Sema &SemaRef,
75 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly &&
78 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()];
82 SemaRef.tryCaptureVariable(Var, Loc, Sema::TryCapture_Implicit,
88 Var->markUsed(SemaRef.Context);
108 TypoCorrectionConsumer(Sema &SemaRef,
116 SavedTCIndex(0), SemaRef(SemaRef), S(S),
119 Result(SemaRef, TypoName, LookupKind),
120 Namespaces(SemaRef.Context, SemaRef.CurContext, SS),
213 ASTContext &getContext() const { return SemaRef.Context; }
318 Sema &SemaRef;