Home | History | Annotate | Download | only in Sema

Lines Matching refs:SemaRef

3881   FunctionCallCCC(Sema &SemaRef, const IdentifierInfo *FuncName,
3883 : FunctionCallFilterCCC(SemaRef, NumArgs, HasExplicitTemplateArgs),
10377 static void MakeObjCStringLiteralFixItHint(Sema& SemaRef, QualType DstType,
10380 if (!SemaRef.getLangOpts().ObjC1)
10758 TransformToPE(Sema &SemaRef) : BaseTransform(SemaRef) { }
10780 !SemaRef.isUnevaluatedContext())
10781 return SemaRef.Diag(E->getLocation(),
10897 static bool IsPotentiallyEvaluatedContext(Sema &SemaRef) {
10900 if (SemaRef.CurContext->isDependentContext())
10903 switch (SemaRef.ExprEvalContexts.back().Context) {
11651 static void MarkVarDeclODRUsed(Sema &SemaRef, VarDecl *Var,
11655 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly &&
11658 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()];
11662 SemaRef.tryCaptureVariable(Var, Loc);
11712 static void DoMarkVarDeclReferenced(Sema &SemaRef, SourceLocation Loc,
11716 if (!IsPotentiallyEvaluatedContext(SemaRef))
11743 Var->isUsableInConstantExpressions(SemaRef.Context))) {
11746 if (ASTMutationListener *L = SemaRef.getASTMutationListener())
11768 if (Var->isUsableInConstantExpressions(SemaRef.Context)) {
11771 SemaRef.InstantiateVariableDefinition(PointOfInstantiation, Var);
11773 SemaRef.PendingInstantiations
11790 Var->isUsableInConstantExpressions(SemaRef.Context) &&
11793 SemaRef.MaybeODRUseExprs.insert(E);
11795 MarkVarDeclODRUsed(SemaRef, Var, Loc);
11805 static void MarkExprReferenced(Sema &SemaRef, SourceLocation Loc,
11808 DoMarkVarDeclReferenced(SemaRef, Loc, Var, E);
11812 SemaRef.MarkAnyDeclReferenced(Loc, D, OdrUse);
11829 SemaRef.MarkAnyDeclReferenced(Loc, DM, OdrUse);