Home | History | Annotate | Download | only in Sema

Lines Matching defs:SemaRef

6028   Sema &SemaRef;
6041 BuiltinCandidateTypeSet(Sema &SemaRef)
6045 SemaRef(SemaRef),
6046 Context(SemaRef.Context) { }
6206 Ty = SemaRef.Context.getArrayDecayedType(Ty);
6242 if (SemaRef.RequireCompleteType(Loc, Ty, 0))
9325 DiagnoseTwoPhaseLookup(Sema &SemaRef, SourceLocation FnLoc,
9329 if (SemaRef.ActiveTemplateInstantiations.empty() || !SS.isEmpty())
9332 for (DeclContext *DC = SemaRef.CurContext; DC; DC = DC->getParent()) {
9336 SemaRef.LookupQualifiedName(R, DC);
9350 AddOverloadedCallCandidate(SemaRef, I.getPair(),
9355 if (Candidates.BestViableFunction(SemaRef, FnLoc, Best) != OR_Success) {
9366 SemaRef.FindAssociatedClassesAndNamespaces(Args,
9371 if (DeclContext *Std = SemaRef.getStdNamespace()) {
9383 SemaRef.Diag(R.getNameLoc(), diag::err_not_found_by_two_phase_lookup)
9386 SemaRef.Diag(Best->Function->getLocation(),
9390 SemaRef.Diag(Best->Function->getLocation(),
9397 SemaRef.Diag(Best->Function->getLocation(),
9418 DiagnoseTwoPhaseOperatorLookup(Sema &SemaRef, OverloadedOperatorKind Op,
9422 SemaRef.Context.DeclarationNames.getCXXOperatorName(Op);
9423 LookupResult R(SemaRef, OpName, OpLoc, Sema::LookupOperatorName);
9424 return DiagnoseTwoPhaseLookup(SemaRef, OpLoc, CXXScopeSpec(), R,
9434 RecoveryCallCCC(Sema &SemaRef, unsigned NumArgs, bool HasExplicitTemplateArgs)
9436 WantTypeSpecifiers = SemaRef.getLangOpts().CPlusPlus;
9495 BuildRecoveryCallExpr(Sema &SemaRef, Scope *S, Expr *Fn,
9513 LookupResult R(SemaRef, ULE->getName(), ULE->getNameLoc(),
9515 RecoveryCallCCC Validator(SemaRef, Args.size(), ExplicitTemplateArgs != 0);
9520 if (!DiagnoseTwoPhaseLookup(SemaRef, Fn->getExprLoc(), SS, R,
9523 SemaRef.DiagnoseEmptyLookup(S, SS, R, *CCC,
9533 NewFn = SemaRef.BuildPossibleImplicitMemberExpr(SS, TemplateKWLoc,
9536 NewFn = SemaRef.BuildTemplateIdExpr(SS, TemplateKWLoc, R, false,
9539 NewFn = SemaRef.BuildDeclarationNameExpr(SS, R, false);
9547 return SemaRef.ActOnCallExpr(/*Scope*/ 0, NewFn.take(), LParenLoc,