Lines Matching refs:KWLoc
2839 SourceLocation KWLoc,
2847 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen);
3285 SourceLocation KWLoc,
3289 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T))
3294 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T);
3296 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value,
3301 SourceLocation KWLoc,
3315 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen);
3337 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc,
3356 S.Diag(KWLoc, diag::err_type_trait_arity)
3369 S.RequireCompleteType(KWLoc, Args[I]->getType(),
3398 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc,
3424 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3437 Value = evaluateTypeTrait(*this, Kind, KWLoc, Args, RParenLoc);
3439 return TypeTraitExpr::Create(Context, Context.BoolTy, KWLoc, Kind,
3443 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3453 TInfo = Context.getTrivialTypeSourceInfo(T, KWLoc);
3458 return BuildTypeTrait(Kind, KWLoc, ConvertedArgs, RParenLoc);
3625 SourceLocation KWLoc,
3634 Diag(KWLoc, diag::err_types_compatible_p_in_cplusplus)
3635 << SourceRange(KWLoc, RParen);
3642 Value = EvaluateBinaryTypeTrait(*this, BTT, LhsT, RhsT, KWLoc);
3655 return Owned(new (Context) BinaryTypeTraitExpr(KWLoc, BTT, LhsTSInfo,
3661 SourceLocation KWLoc,
3670 return BuildArrayTypeTrait(ATT, KWLoc, TSInfo, DimExpr, RParen);
3728 SourceLocation KWLoc,
3738 Value = EvaluateArrayTypeTrait(*this, ATT, T, DimExpr, KWLoc);
3745 return Owned(new (Context) ArrayTypeTraitExpr(KWLoc, ATT, TSInfo, Value,
3751 SourceLocation KWLoc,
3758 ExprResult Result = BuildExpressionTrait(ET, KWLoc, Queried, RParen);
3772 SourceLocation KWLoc,
3780 return BuildExpressionTrait(ET, KWLoc, PE.take(), RParen);
3785 return Owned(new (Context) ExpressionTraitExpr(KWLoc, ET, Queried, Value,