Add 'None' demangler option

This commit is contained in:
2025-09-22 23:31:57 -06:00
parent fe8e7029f6
commit 1866158092
3 changed files with 16 additions and 17 deletions

View File

@@ -6,6 +6,7 @@ use crate::diff::Demangler;
impl Demangler {
pub fn demangle(&self, name: &str) -> Option<String> {
match self {
Demangler::None => None,
Demangler::Codewarrior => Self::demangle_codewarrior(name),
Demangler::Msvc => Self::demangle_msvc(name),
Demangler::Itanium => Self::demangle_itanium(name),