rikardfalkeborn
dc4e7cef88
Run simplifyPlatformTypes on library return types ( #1672 )
...
Add a call to simplifyPlatformTypes() in
SymbolDatabase::setValueTypeInTokenList() to simplify return types of
library configured functions. This fixes the FN in #8141 . Regression
tests are added, both for the original issue and another FN in the comments.
In order to do that, move simplifyPlatformTypes() to TokenList from Tokenizer.
This is a pure refactoring and does not change any behaviour. The code was
literally copy-pasted from one file to another and in two places
'list.front()' was changed to 'front()'.
When adding the call to simplifyPlatformTypes(), the original type of
v.size() where v is a container is changed from 'size_t' to 'std::size_t'.
Tests are updated accordingly. It can be noted that if v is declared as
'class fred : public std::vector<int> {} v', the original type of 'v.size()'
is still 'size_t' and not 'std::size_t'.
2019-02-15 13:29:52 +01:00
..
2018-11-03 19:41:25 +01:00
2018-10-13 18:20:31 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2018-06-16 16:10:28 +02:00
2019-02-09 07:24:06 +01:00
2018-10-13 18:20:31 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2018-11-09 06:30:41 +01:00
2019-02-09 07:24:06 +01:00
2018-06-16 16:10:28 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2018-07-14 09:49:03 +02:00
2019-02-09 07:24:06 +01:00
2018-10-19 07:48:47 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2018-07-13 16:50:12 +02:00
2019-02-09 07:24:06 +01:00
2018-09-26 17:58:22 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2018-11-09 06:30:41 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-10 19:00:01 +01:00
2019-02-11 07:43:16 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-01-13 12:21:01 +01:00
2019-02-09 14:40:50 +01:00
2019-02-09 07:24:06 +01:00
2018-07-09 08:27:26 +02:00
2018-12-27 22:11:40 +01:00
2018-12-27 22:11:40 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2018-12-25 21:11:23 +01:00
2019-02-09 07:24:06 +01:00
2018-07-15 23:05:48 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2018-10-13 18:20:31 +02:00
2018-10-13 18:20:31 +02:00
2018-03-31 20:59:09 +02:00
2018-10-20 15:28:34 +02:00
2019-02-09 07:24:06 +01:00
2018-06-17 09:06:16 +02:00
2019-02-12 09:07:59 +01:00
2019-02-09 14:40:50 +01:00
2018-01-14 15:37:52 +01:00
2019-02-09 07:24:06 +01:00
2018-10-04 17:13:11 +02:00
2019-02-15 13:29:52 +01:00
2019-02-09 07:24:06 +01:00
2019-02-14 11:48:59 +01:00
2019-02-09 07:24:06 +01:00
2018-06-17 17:20:16 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-15 13:29:52 +01:00
2019-02-15 13:29:52 +01:00
2019-02-15 13:29:52 +01:00
2019-02-15 13:29:52 +01:00
2018-07-25 16:14:43 +02:00
2019-02-09 08:48:10 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 09:07:27 +01:00