swift
ce2dfeb0 - Failing Casts Should Not Crash

Commit
3 years ago
Failing Casts Should Not Crash Return a NULL demangle tree instead of crashing. When an unconditional runtime cast fails, it's going to crash anyways, but this way it prints a better description (though not great) than the unreachable's message here.
Author
Committer
Parents
  • stdlib/public/runtime
    • File
      Demangle.cpp