<div dir="ltr">Hello,<div><br></div><div>If I have 2 QualTypes, FromType and ToType, how do I check if converting an R-value of type FromType to ToType is possible? I see TryCopyInitialization used for something similar, but that needs an Expr* whose type is FromType. Is there a way to create a temporary R-value with a given type? Something akin to llvm::UndefValue::get(Type*) perhaps?</div>
<div><br></div><div>Thanks,</div><div>Manjunath</div></div>