forked from qt-creator/qt-creator
Debugger: Remove boost::shared_ptr<>::element_type noise from display
Change-Id: Ic520cadc41463e679b324028b6126ad3f4138c34 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -813,6 +813,11 @@ QString simplifySTLType(const QString &typeIn)
|
||||
type.replace(QLatin1Char('*'), QLatin1Char('@'));
|
||||
|
||||
for (int i = 0; i < 10; ++i) {
|
||||
// boost::shared_ptr<...>::element_type
|
||||
if (type.startsWith(QLatin1String("boost::shared_ptr<"))
|
||||
&& type.endsWith(QLatin1String(">::element_type")))
|
||||
type = type.mid(18, type.size() - 33);
|
||||
|
||||
// std::ifstream
|
||||
QRegExp ifstreamRE(QLatin1String("std::basic_ifstream<char,\\s*std::char_traits<char>\\s*>"));
|
||||
ifstreamRE.setMinimal(true);
|
||||
|
||||
Reference in New Issue
Block a user