diff options
| author | hjk <[email protected]> | 2013-08-16 14:11:30 +0200 |
|---|---|---|
| committer | hjk <[email protected]> | 2013-08-16 14:38:01 +0200 |
| commit | 92a37e261490a09c7b9810053e2977ac50d89491 (patch) | |
| tree | a30d5c63cdd592bcd64e70195f650ac861621953 /src/libs/cplusplus/CppRewriter.cpp | |
| parent | 8c12b2bf7349345e0d25011067fd7b2452c4025a (diff) | |
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 <[email protected]>
Diffstat (limited to 'src/libs/cplusplus/CppRewriter.cpp')
| -rw-r--r-- | src/libs/cplusplus/CppRewriter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/cplusplus/CppRewriter.cpp b/src/libs/cplusplus/CppRewriter.cpp index 5920a8e605f..42096449069 100644 --- a/src/libs/cplusplus/CppRewriter.cpp +++ b/src/libs/cplusplus/CppRewriter.cpp @@ -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) { |
