diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-11-25 13:51:54 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-11-25 13:51:54 +0100 |
commit | 2960c735df99a35d49c7cc6f39e9b6c11c271bd9 (patch) | |
tree | 9e58e22207a98f47cab44d4834e9cf61ebdb7e0a /src/libs/cplusplus/CppRewriter.h | |
parent | 68ddcab8c302d90718df875d22553f51dda8e7ff (diff) | |
download | qt-creator-2960c735df99a35d49c7cc6f39e9b6c11c271bd9.tar.gz |
Debugger/CPP: Move helpers to simplify types to CPlusPlus-lib.
Make available for log simplification, etc.
Add autotest, fix broken std::set and MSVC.
Rubber-stamped-by: Christian Kamm <christian.d.kamm@nokia.com>
Diffstat (limited to 'src/libs/cplusplus/CppRewriter.h')
-rw-r--r-- | src/libs/cplusplus/CppRewriter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/cplusplus/CppRewriter.h b/src/libs/cplusplus/CppRewriter.h index 988b92f3a6..aa5511ecb0 100644 --- a/src/libs/cplusplus/CppRewriter.h +++ b/src/libs/cplusplus/CppRewriter.h @@ -104,6 +104,11 @@ CPLUSPLUS_EXPORT const Name *rewriteName(const Name *name, SubstitutionEnvironment *env, Control *control); +// Simplify complicated STL template types, such as +// 'std::basic_string<char,std::char_traits<char>,std::allocator<char> > '-> +// 'std::string'. +CPLUSPLUS_EXPORT QString simplifySTLType(const QString &typeIn); + } // end of namespace CPlusPlus #endif |