================ @@ -1605,8 +1735,9 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl &gd, unsigned builtinID, case Builtin::BImove: case Builtin::BImove_if_noexcept: case Builtin::BIforward: - case Builtin::BIforward_like: case Builtin::BIas_const: + return RValue::get(emitLValue(e->getArg(0)).getPointer()); + case Builtin::BIforward_like: ---------------- adams381 wrote:
`std::forward_like` has different semantics from `std::forward` - it adjusts value category based on a template parameter, so it needs different handling. Moved it to the NYI group since it requires separate implementation. https://github.com/llvm/llvm-project/pull/175233 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
