summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/CppRewriter.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-11-25 13:51:54 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-11-25 13:51:54 +0100
commit2960c735df99a35d49c7cc6f39e9b6c11c271bd9 (patch)
tree9e58e22207a98f47cab44d4834e9cf61ebdb7e0a /src/libs/cplusplus/CppRewriter.h
parent68ddcab8c302d90718df875d22553f51dda8e7ff (diff)
downloadqt-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.h5
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