cor3ntin added a comment.

> Should we be marking the init expression/declaration as invalid to force 
> codegen not to run on the expression? So it's not removing the init, but is 
> marking the declaration its attached to as invalid.

We should remove the init from the declaration entirely, the tricky part is 
find the declaration. I did try but so far failed. It's an issue we can track 
and explore separately from this PR


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155175

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

Reply via email to