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-01-19 13:20:35 +00:00
2015-08-04 16:16:45 +00:00
2015-08-04 16:16:45 +00:00
2015-10-01 10:51:10 +00:00
2015-12-08 13:05:02 +00:00
2015-06-16 13:29:27 +00:00
2015-06-16 13:29:27 +00:00
2015-06-16 13:29:27 +00:00
2015-06-16 13:29:27 +00:00
2015-10-01 10:51:10 +00:00
2017-05-11 11:54:09 +00:00
2015-06-16 13:29:27 +00:00
2015-06-16 13:29:27 +00:00
2016-03-30 15:20:19 +00:00
2016-03-30 15:20:19 +00:00
2017-09-08 10:13:08 +00:00
2016-03-30 15:20:19 +00:00
2016-03-30 15:20:19 +00:00
2016-03-30 15:20:19 +00:00
2016-01-19 16:01:06 +00:00
2015-06-16 13:29:27 +00:00
2017-06-09 07:05:25 +00:00
2016-06-24 08:31:28 +00:00
2016-06-24 08:31:28 +00:00
2016-01-19 13:20:35 +00:00
2016-05-03 12:19:13 +00:00
2016-05-03 12:19:13 +00:00
2017-06-09 07:05:25 +00:00
2016-01-19 13:20:35 +00:00
2016-02-01 12:20:58 +00:00
2016-01-19 13:20:35 +00:00
2016-01-19 13:20:35 +00:00
2016-01-19 13:20:35 +00:00
2016-01-19 13:20:35 +00:00
2017-06-09 07:05:25 +00:00
2018-02-02 07:01:28 +00:00
2018-02-02 07:01:28 +00:00
2015-09-29 11:39:21 +00:00
2015-09-29 11:39:21 +00:00
2015-09-29 11:39:21 +00:00
2016-06-22 12:39:39 +00:00
2015-11-16 14:18:37 +00:00
2015-11-16 14:18:37 +00:00
2015-08-31 14:59:16 +00:00
2015-09-29 11:39:21 +00:00
2015-09-29 11:39:21 +00:00
2015-09-29 11:39:21 +00:00
2015-09-29 11:39:21 +00:00
2015-08-31 14:59:16 +00:00
2015-11-06 11:33:12 +00:00
2017-08-03 08:27:32 +00:00
2017-08-03 08:27:32 +00:00
2017-08-03 08:27:32 +00:00
2018-02-22 10:24:59 +00:00
2018-02-22 10:24:59 +00:00
2017-08-18 12:10:02 +00:00
2017-09-15 14:14:01 +00:00
2018-04-30 15:10:12 +00:00
2016-03-07 12:06:40 +00:00
2016-01-19 16:01:06 +00:00
2017-02-16 17:39:05 +00:00
2017-01-30 13:55:58 +00:00
2017-01-30 13:55:58 +00:00
2017-02-16 17:39:16 +00:00
2017-01-30 13:55:58 +00:00
2017-02-16 17:39:05 +00:00
2017-02-16 17:39:16 +00:00
2018-04-04 13:34:59 +00:00
2018-04-04 13:34:59 +00:00
2017-02-01 13:11:15 +00:00
2017-01-30 13:55:58 +00:00
2017-01-30 13:55:58 +00:00
2017-02-21 08:25:47 +00:00
2017-02-16 17:39:16 +00:00
2016-11-15 15:30:33 +00:00
2017-07-03 09:57:57 +00:00
2017-07-03 09:57:57 +00:00
2017-07-03 09:57:57 +00:00
2016-11-15 15:30:33 +00:00
2017-06-14 12:49:05 +00:00
2016-08-08 13:50:25 +00:00
2015-11-17 12:41:37 +00:00
2016-11-23 12:16:04 +00:00
2016-08-04 14:37:19 +00:00
2018-02-22 10:24:59 +00:00
2018-02-22 10:24:59 +00:00
2018-02-22 10:24:59 +00:00
2018-02-22 10:24:59 +00:00
2018-02-22 10:24:59 +00:00
2017-09-14 13:39:55 +00:00
2018-02-01 14:47:46 +00:00
2018-01-03 14:45:04 +00:00
2018-01-03 14:45:04 +00:00
2018-02-01 15:06:09 +00:00
2018-02-01 15:06:09 +00:00
2018-01-03 14:45:04 +00:00
2017-08-29 16:37:09 +00:00
2018-03-27 14:45:58 +00:00
2017-09-14 13:39:55 +00:00
2018-01-22 12:33:21 +00:00
2018-01-16 15:32:15 +00:00
2015-08-31 15:00:07 +00:00
2016-03-30 15:20:19 +00:00