[clang] [llvm] [llvm, clang] Don't assume non-erased DenseMap entries remain valid after erase. NFC (PR #198982)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon May 25 14:03:24 PDT 2026


MaskRay wrote:

Confirmed

`Two callers ⇒ the compiler emits DenseMapBase::remove_if<$_0> out-of-line rather than inlining it.`

Created a fix: https://github.com/llvm/llvm-project/pull/199571

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


More information about the cfe-commits mailing list