efriedma added a comment.

The fix doesn't look right.

A CompoundLiteralExpr is itself an lvalue; we should catch any issues when we 
visit it, not a VarDecl that contains a pointer to it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124038/new/

https://reviews.llvm.org/D124038

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to