Lines Matching refs:RefExpr
5415 ExprResult RefExpr = BuildDeclRefExpr(VD, in BuildExpressionFromDeclTemplateArgument() local
5420 if (RefExpr.isInvalid()) in BuildExpressionFromDeclTemplateArgument()
5423 RefExpr = CreateBuiltinUnaryOp(Loc, UO_AddrOf, RefExpr.get()); in BuildExpressionFromDeclTemplateArgument()
5429 if (IsQualificationConversion(((Expr*) RefExpr.get())->getType(), in BuildExpressionFromDeclTemplateArgument()
5432 RefExpr = ImpCastExprToType(RefExpr.get(), ParamType.getUnqualifiedType(), CK_NoOp); in BuildExpressionFromDeclTemplateArgument()
5434 assert(!RefExpr.isInvalid() && in BuildExpressionFromDeclTemplateArgument()
5435 Context.hasSameType(((Expr*) RefExpr.get())->getType(), in BuildExpressionFromDeclTemplateArgument()
5437 return RefExpr; in BuildExpressionFromDeclTemplateArgument()
5446 ExprResult RefExpr = BuildDeclRefExpr(VD, T, VK_LValue, Loc); in BuildExpressionFromDeclTemplateArgument() local
5447 if (RefExpr.isInvalid()) in BuildExpressionFromDeclTemplateArgument()
5452 RefExpr = DefaultFunctionArrayConversion(RefExpr.get()); in BuildExpressionFromDeclTemplateArgument()
5453 if (RefExpr.isInvalid()) in BuildExpressionFromDeclTemplateArgument()
5456 return RefExpr; in BuildExpressionFromDeclTemplateArgument()
5460 return CreateBuiltinUnaryOp(Loc, UO_AddrOf, RefExpr.get()); in BuildExpressionFromDeclTemplateArgument()