[flang-commits] [flang] [flang] Remove unused DenseMapInfo::getTombstoneKey (PR #200632)

Alexis Engelke via flang-commits flang-commits at lists.llvm.org
Sat May 30 22:53:44 PDT 2026


================
@@ -1239,12 +1239,6 @@ template <> struct DenseMapInfo<Fortran::semantics::SymbolRef> {
     return *reinterpret_cast<Fortran::semantics::SymbolRef *>(&ptr);
----------------
aengelke wrote:

Side note: isn't this dereferencing an invalid pointer, which is UB?

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


More information about the flang-commits mailing list