Home | History | Annotate | Download | only in Sema

Lines Matching refs:KWLoc

2812                                      SourceLocation KWLoc,
2820 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen);
3254 SourceLocation KWLoc,
3258 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T))
3263 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T);
3265 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value,
3270 SourceLocation KWLoc,
3284 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen);
3287 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc,
3306 S.Diag(KWLoc, diag::err_type_trait_arity)
3319 S.RequireCompleteType(KWLoc, Args[I]->getType(),
3348 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc,
3370 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3383 Value = evaluateTypeTrait(*this, Kind, KWLoc, Args, RParenLoc);
3385 return TypeTraitExpr::Create(Context, Context.BoolTy, KWLoc, Kind,
3389 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3399 TInfo = Context.getTrivialTypeSourceInfo(T, KWLoc);
3404 return BuildTypeTrait(Kind, KWLoc, ConvertedArgs, RParenLoc);
3549 SourceLocation KWLoc,
3558 Diag(KWLoc, diag::err_types_compatible_p_in_cplusplus)
3559 << SourceRange(KWLoc, RParen);
3566 Value = EvaluateBinaryTypeTrait(*this, BTT, LhsT, RhsT, KWLoc);
3579 return Owned(new (Context) BinaryTypeTraitExpr(KWLoc, BTT, LhsTSInfo,
3585 SourceLocation KWLoc,
3594 return BuildArrayTypeTrait(ATT, KWLoc, TSInfo, DimExpr, RParen);
3652 SourceLocation KWLoc,
3662 Value = EvaluateArrayTypeTrait(*this, ATT, T, DimExpr, KWLoc);
3669 return Owned(new (Context) ArrayTypeTraitExpr(KWLoc, ATT, TSInfo, Value,
3675 SourceLocation KWLoc,
3682 ExprResult Result = BuildExpressionTrait(ET, KWLoc, Queried, RParen);
3696 KWLoc,
3704 return BuildExpressionTrait(ET, KWLoc, PE.take(), RParen);
3709 return Owned(new (Context) ExpressionTraitExpr(KWLoc, ET, Queried, Value,