Volodymyr Zibarov
586ce5b472
C++: Print numeric template arguments in NamePrettyPrinter
...
Improve type printed for template specializations with numeric
or bool values.
Code example:
template<bool B, class T> struct enable_if{};
template<class T> struct enable_if<true, T>{ typedef T type; };
In outline: "enable_if<_Tp1, T> <T>" becomes "enable_if<true, T> <T>"
TemplateArgument class holds pointer to numeric literal owned
by CppDocument, so remove Control::squeeze() to not release
numericLiterals in CppDocument::releaseSourceAndAST()
This based on TemplateArgument class introduced in commit
9ee693ee22
Change-Id: Ib787a5e402c3e8d8467b520347a26afa6087d4bd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io >
2020-06-03 12:11:15 +00:00
..
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2019-08-01 13:20:26 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2019-07-25 14:06:46 +00:00
2020-06-03 12:11:15 +00:00
2020-06-03 12:11:15 +00:00
2014-05-23 14:43:30 +02:00
2016-03-30 15:20:19 +00:00
2016-03-30 15:20:19 +00:00
2017-07-26 07:57:20 +00:00
2016-03-30 15:20:19 +00:00
2016-03-30 15:20:19 +00:00
2019-07-26 09:23:48 +00:00
2016-01-15 14:05:22 +00:00
2019-08-01 13:20:26 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2016-03-30 15:20:19 +00:00
2019-08-01 13:20:26 +00:00
2019-07-26 09:23:48 +00:00
2019-08-01 13:20:26 +00:00
2020-05-29 12:39:28 +00:00
2019-08-01 13:20:26 +00:00
2019-08-01 13:20:26 +00:00
2016-03-30 15:20:19 +00:00
2019-08-01 13:20:26 +00:00
2019-08-01 13:20:26 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2016-03-30 15:20:19 +00:00
2017-07-26 07:57:03 +00:00
2017-07-26 07:57:03 +00:00
2017-07-26 07:57:03 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2017-07-26 07:57:03 +00:00
2017-07-26 07:57:03 +00:00
2016-01-19 15:59:41 +00:00
2017-07-26 07:44:27 +00:00
2019-08-01 13:20:26 +00:00
2019-07-26 09:23:48 +00:00
2019-08-01 13:20:26 +00:00
2019-08-01 13:20:26 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2016-03-30 15:20:19 +00:00
2020-05-29 12:39:28 +00:00
2019-08-01 13:20:26 +00:00
2020-05-29 12:39:28 +00:00
2020-05-29 12:39:28 +00:00
2019-08-01 13:20:26 +00:00
2019-08-01 13:20:26 +00:00
2019-08-01 13:20:26 +00:00
2019-08-01 13:20:26 +00:00
2016-03-30 15:20:19 +00:00