• Christian Kandeler's avatar
    Debugger: Refactor name demangler. · b206feab
    Christian Kandeler authored
    So far, we converted the mangled to the demangled representation on the
    fly while parsing. Because some demangled strings look different
    depending on higher-level context, awkward string manipulations were
    then necessary at some later point.
    The new solution is much more easily maintainable, creating a tree with
    a node for every rule in the grammar first and converting the complete
    tree to the demangled string later.
    Change-Id: I59088df259611d7cd78af47b81b6a21d628a787f
    Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parsetreenodes.cpp 30 KB