forked from qt-creator/qt-creator
CppRewriter: Replace std::__debug with std:: when beautifing types
This only affects the visual presentation in Locals and Expressions and also lets more autotests pass it when compiled with -D_GLIBCXX_DEBUG Change-Id: I2672aa8610e8f6652606faefd858ecb450cef199 Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -528,6 +528,7 @@ CPLUSPLUS_EXPORT QString simplifySTLType(const QString &typeIn)
|
||||
type.remove(0, 7);
|
||||
|
||||
type.replace(QLatin1String("std::__1::"), QLatin1String("std::"));
|
||||
type.replace(QLatin1String("std::__debug::"), QLatin1String("std::"));
|
||||
type.replace(QLatin1Char('*'), QLatin1Char('@'));
|
||||
|
||||
for (int i = 0; i < 10; ++i) {
|
||||
|
Reference in New Issue
Block a user