• Home
  • Raw
  • Download

Lines Matching refs:KWLoc

2948                                      SourceLocation KWLoc,  in ActOnUnaryTypeTrait()  argument
2956 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen); in ActOnUnaryTypeTrait()
3439 SourceLocation KWLoc, in BuildUnaryTypeTrait() argument
3443 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T)) in BuildUnaryTypeTrait()
3448 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T); in BuildUnaryTypeTrait()
3450 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value, in BuildUnaryTypeTrait()
3455 SourceLocation KWLoc, in ActOnBinaryTypeTrait() argument
3469 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen); in ActOnBinaryTypeTrait()
3491 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, in evaluateTypeTrait() argument
3510 S.Diag(KWLoc, diag::err_type_trait_arity) in evaluateTypeTrait()
3523 S.RequireCompleteType(KWLoc, Args[I]->getType(), in evaluateTypeTrait()
3552 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc, in evaluateTypeTrait()
3577 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, in BuildTypeTrait() argument
3590 Value = evaluateTypeTrait(*this, Kind, KWLoc, Args, RParenLoc); in BuildTypeTrait()
3592 return TypeTraitExpr::Create(Context, Context.BoolTy, KWLoc, Kind, in BuildTypeTrait()
3596 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, in ActOnTypeTrait() argument
3606 TInfo = Context.getTrivialTypeSourceInfo(T, KWLoc); in ActOnTypeTrait()
3611 return BuildTypeTrait(Kind, KWLoc, ConvertedArgs, RParenLoc); in ActOnTypeTrait()
3778 SourceLocation KWLoc, in BuildBinaryTypeTrait() argument
3787 Diag(KWLoc, diag::err_types_compatible_p_in_cplusplus) in BuildBinaryTypeTrait()
3788 << SourceRange(KWLoc, RParen); in BuildBinaryTypeTrait()
3795 Value = EvaluateBinaryTypeTrait(*this, BTT, LhsT, RhsT, KWLoc); in BuildBinaryTypeTrait()
3808 return Owned(new (Context) BinaryTypeTraitExpr(KWLoc, BTT, LhsTSInfo, in BuildBinaryTypeTrait()
3814 SourceLocation KWLoc, in ActOnArrayTypeTrait() argument
3823 return BuildArrayTypeTrait(ATT, KWLoc, TSInfo, DimExpr, RParen); in ActOnArrayTypeTrait()
3881 SourceLocation KWLoc, in BuildArrayTypeTrait() argument
3891 Value = EvaluateArrayTypeTrait(*this, ATT, T, DimExpr, KWLoc); in BuildArrayTypeTrait()
3898 return Owned(new (Context) ArrayTypeTraitExpr(KWLoc, ATT, TSInfo, Value, in BuildArrayTypeTrait()
3904 SourceLocation KWLoc, in ActOnExpressionTrait() argument
3911 ExprResult Result = BuildExpressionTrait(ET, KWLoc, Queried, RParen); in ActOnExpressionTrait()
3925 SourceLocation KWLoc, in BuildExpressionTrait() argument
3933 return BuildExpressionTrait(ET, KWLoc, PE.take(), RParen); in BuildExpressionTrait()
3938 return Owned(new (Context) ExpressionTraitExpr(KWLoc, ET, Queried, Value, in BuildExpressionTrait()