This is an archive of the discontinued LLVM Phabricator instance.

Fix GetDisplayName when only a demangled name is available
ClosedPublic

Authored by fjricci on Oct 3 2016, 11:14 AM.

Details

Summary

GetDisplayDemangledName will already return a ConstString() when
there is neither a mangled name or a demangled name, so we don't need to special
case here. This will fix GetDisplayName in cases where m_mangled contains
only a demangled name and not a mangled name.

Event Timeline

fjricci updated this revision to Diff 73307.Oct 3 2016, 11:14 AM
fjricci retitled this revision from to Fix GetDisplayName when only a demangled name is available.
fjricci updated this object.
fjricci added reviewers: clayborg, granata.enrico.
fjricci added a subscriber: lldb-commits.
fjricci added a reviewer: sas.Oct 5 2016, 4:01 PM
sas accepted this revision.Oct 5 2016, 4:02 PM
sas edited edge metadata.
This revision is now accepted and ready to land.Oct 5 2016, 4:02 PM
This revision was automatically updated to reflect the committed changes.