[PATCH] D139713: [Sema] Fix crash when evaluating nested call with value-dependent arg

Pierre van Houtryve via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 06:34:10 PST 2022


Pierre-vh added a comment.

I think the right choice is to remove the assert as it's an invariant that can be broken in some cases, so I don't feel like the assert is worth it anymore.
Alternatively I could add something to bypass the assert in that specific call to getParamSlot for Value-Dependent expressions, it's a more targeted fix in case you think the assertion must be left in.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139713



More information about the cfe-commits mailing list