Files
qt-creator/tests/unit/unittest
Hugo Holgersson 142ae0cdf9 Clang: Add semantic C++ operator-token styling
We used to style overloaded operators in the same way
as C++'s built-in operators. There was no way to tell
if a + token would call a operator+() function or not.

Now, if an operator is overloaded (redefined),
we give it the "Overloaded Operator"-mixin so users
can style it differently.

Note: Calls to overloaded 'new' and 'delete' are not
highlighted by "Overloaded Operator". This is because
clang today always maps these to CXCursor_CXXNewExpr
and CXCursor_CXXDeleteExpr with cursor.spelling == ""
(empty string). So there is no (?) quick way for us
to tell if a new/delete-token was overloaded or not.

After follow-ups, follow symbol will work for operator
overload usages in current translation unit.
Commit is appended by Ivan Donchevskii.

Task-number: QTCREATORBUG-19659
Change-Id: I157855d482a61ad2059642a1ee982089fcb7d312
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-04-30 15:10:12 +00:00
..
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2018-04-09 05:25:40 +00:00
2018-04-09 05:25:40 +00:00
2016-11-15 15:30:33 +00:00
2018-01-16 15:32:15 +00:00
2017-01-31 14:18:38 +00:00
2017-01-31 14:18:38 +00:00
2017-12-05 10:26:24 +00:00
2018-01-16 14:00:28 +00:00
2017-10-05 17:36:37 +00:00
2017-10-05 17:36:37 +00:00
2017-10-05 17:36:37 +00:00
2016-09-19 15:17:54 +00:00
2017-10-05 17:36:37 +00:00
2017-02-01 13:11:15 +00:00
2017-01-30 13:55:58 +00:00
2016-11-23 12:16:04 +00:00
2016-11-23 12:16:04 +00:00
2016-11-15 15:30:33 +00:00
2018-04-09 05:25:40 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2018-04-09 05:25:40 +00:00
2018-04-09 05:25:40 +00:00
2016-09-19 15:17:54 +00:00
2017-10-05 17:36:37 +00:00
2018-04-09 05:25:40 +00:00
2016-11-23 12:16:04 +00:00
2016-11-23 12:16:04 +00:00
2018-04-12 14:38:51 +00:00
2018-01-16 15:32:15 +00:00
2016-09-19 15:17:54 +00:00