Issue 143473
Summary [libcxxabi][llvm-cxxfilt] Demangler produces bad output for templated `operator<`
Labels
Assignees
Reporter jeremy-rifkin
    llvm-cxxfilt and __cxa_demangle demangle `_ZltI1SEvT_S1_` as `void operator<<S>(S, S)`. Specifically, the `operator<<S>` part can be problematic for tooling attempting to parse these names since this should be tokenized as `operator` `<<` `S` `>`. While possible to disambiguate some cases, I think it would be better to demangle this specific case as `void operator< <S>(S, S)`.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to