[clang] [HIP][Sema] Fix incorrect CK_NoOp for lvalue-to-rvalue conversion in … (PR #180314)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 17 19:08:07 PST 2026


================
@@ -6823,9 +6823,10 @@ ExprResult Sema::BuildCallExpr(Scope *Scope, Expr *Fn, SourceLocation LParenLoc,
 
         // First, ensure that the Arg is an RValue.
----------------
shafik wrote:

I know you did not write this comment but it clearly looks wrong or at least confusing.

https://github.com/llvm/llvm-project/pull/180314


More information about the cfe-commits mailing list