shafik added a comment.

If I am reading the code correctly it looks like if the call to 
`(*I)->isValueDependent()` is true then the temporary will not be created and 
therefore we should not be attempting to access the slot.

If this is the case then maybe the checking in `EvaluateWithSubstitution(...)` 
needs to be more carefully done?

I am not familiar with this code but I don't know if you analysis provides a 
convincing case the assert should be removed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139713

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

Reply via email to