Kadir Cetinkaya
fd019ed54e
[clang] Make handling of unnamed template params similar to function params
...
Summary:
Clang uses the location identifier should be inserted for declarator
decls when a decl is unnamed. But for type template and template template
paramaters it uses the location of "typename/class" keyword, which makes it hard
for tooling to insert/change parameter names.
This change tries to unify these two cases by making template parameter
parsing and sourcerange operations similar to function params/declarator decls.
Reviewers: ilya-biryukov
Subscribers: arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68143
llvm-svn: 373340
2019-10-01 14:08:51 +00:00
..
2019-09-20 03:29:19 +00:00
2019-03-07 10:13:50 +00:00
2019-08-23 22:51:23 +00:00
2018-02-02 14:13:37 +00:00
2017-04-27 13:47:03 +00:00
2017-10-16 23:43:02 +00:00
2018-08-03 01:21:16 +00:00
2019-05-10 17:57:22 +00:00
2017-12-11 18:14:51 +00:00
2017-03-10 15:04:58 +00:00
2018-08-23 09:48:11 +00:00
2017-12-11 18:14:51 +00:00
2018-04-24 08:39:46 +00:00
2017-12-11 18:14:51 +00:00
2018-01-03 14:35:48 +00:00
2019-03-13 16:16:54 +00:00
2018-11-12 02:44:33 +00:00
2016-04-27 12:48:25 +00:00
2016-05-31 23:22:04 +00:00
2017-12-11 18:14:51 +00:00
2017-09-08 09:31:13 +00:00
2017-11-16 01:28:25 +00:00
2019-04-08 19:52:45 +00:00
2018-04-12 16:00:05 +00:00
2019-08-13 18:11:44 +00:00
2017-08-17 13:41:55 +00:00
2016-11-10 08:49:37 +00:00
2019-04-08 19:52:45 +00:00
2018-07-30 15:19:05 +00:00
2018-10-22 08:47:31 +00:00
2018-05-17 09:21:07 +00:00
2018-06-13 12:37:08 +00:00
2017-07-17 17:31:44 +00:00
2018-11-20 22:06:54 +00:00
2018-11-20 22:06:54 +00:00
2019-04-04 11:34:18 +00:00
2017-01-23 17:23:23 +00:00
2018-06-21 12:39:24 +00:00
2017-09-08 10:23:08 +00:00
2018-11-01 15:54:18 +00:00
2018-11-01 15:54:18 +00:00
2017-01-03 11:56:40 +00:00
2019-07-13 06:27:35 +00:00
2018-01-22 20:44:47 +00:00
2017-11-14 01:46:24 +00:00
2016-12-08 16:49:05 +00:00
2019-07-18 07:17:49 +00:00
2019-07-18 07:17:49 +00:00
2018-11-20 22:06:54 +00:00
2017-10-24 16:39:37 +00:00
2016-07-27 14:56:59 +00:00
2017-01-24 14:15:08 +00:00
2017-07-19 10:45:40 +00:00
2018-09-19 09:34:55 +00:00
2017-02-13 16:16:43 +00:00
2018-04-24 13:48:53 +00:00
2018-11-20 22:06:54 +00:00
2019-07-18 16:24:09 +00:00
2017-09-22 19:07:37 +00:00
2016-07-27 14:56:59 +00:00
2019-06-04 09:26:08 +00:00
2017-10-24 13:46:58 +00:00
2016-07-27 14:56:59 +00:00
2018-10-23 13:49:37 +00:00
2018-10-15 12:37:23 +00:00
2018-11-07 10:02:31 +00:00
2018-08-03 01:21:16 +00:00
2019-01-03 01:30:50 +00:00
2018-02-02 08:40:08 +00:00
2017-04-15 05:53:49 +00:00
2019-09-13 22:12:27 +00:00
2017-04-15 05:53:49 +00:00
2017-04-15 05:53:49 +00:00
2018-04-07 00:03:27 +00:00
2018-04-07 00:03:27 +00:00
2017-06-27 10:35:30 +00:00
2017-04-27 17:23:04 +00:00
2018-12-19 13:44:41 +00:00
2019-05-21 09:21:35 +00:00
2019-07-09 14:27:01 +00:00
2017-03-10 15:04:58 +00:00
2017-12-11 18:14:51 +00:00
2018-05-11 19:46:31 +00:00
2017-05-10 15:10:36 +00:00
2018-04-06 15:14:32 +00:00
2017-12-11 18:14:51 +00:00
2019-06-11 14:14:24 +00:00
2019-06-11 14:14:24 +00:00
2018-08-03 05:20:23 +00:00
2019-05-29 10:11:14 +00:00
2017-05-24 14:57:17 +00:00
2017-05-24 14:57:17 +00:00
2018-08-03 05:03:22 +00:00
2017-02-17 04:49:41 +00:00
2016-04-27 12:48:25 +00:00
2018-10-04 11:03:55 +00:00
2019-05-10 17:57:22 +00:00
2019-05-10 17:57:22 +00:00
2019-09-12 11:19:12 +00:00
2017-05-28 21:07:22 +00:00
2017-10-06 23:09:55 +00:00
2019-02-18 11:30:43 +00:00
2016-03-09 02:12:46 +00:00
2018-02-12 17:42:09 +00:00
2018-09-23 08:23:48 +00:00
2017-10-10 21:09:49 +00:00
2019-10-01 14:08:51 +00:00
2018-12-07 20:29:54 +00:00
2019-03-07 10:13:50 +00:00
2019-03-07 10:13:50 +00:00
2017-05-04 13:56:51 +00:00
2017-07-01 00:06:27 +00:00
2019-08-13 13:38:15 +00:00
2017-12-14 22:01:50 +00:00
2016-11-04 12:04:16 +00:00
2019-04-29 22:57:15 +00:00
2019-02-27 01:37:43 +00:00
2018-08-03 04:38:04 +00:00
2018-08-03 03:03:20 +00:00
2019-04-17 09:08:50 +00:00
2018-05-16 12:58:13 +00:00
2017-04-11 16:46:03 +00:00
2018-05-01 20:45:25 +00:00
2019-06-26 19:50:12 +00:00
2016-07-13 22:03:47 +00:00
2016-07-13 20:35:26 +00:00
2016-07-13 20:35:26 +00:00
2018-04-27 10:37:04 +00:00
2016-10-27 08:37:14 +00:00
2016-10-27 08:37:14 +00:00
2017-08-21 12:03:08 +00:00
2017-09-12 08:35:57 +00:00
2017-11-03 09:40:07 +00:00
2017-11-03 09:40:07 +00:00
2017-08-21 12:03:08 +00:00
2016-02-11 17:04:42 +00:00
2019-05-04 10:49:46 +00:00
2017-09-22 16:58:57 +00:00
2017-07-12 11:35:11 +00:00
2019-05-07 14:40:37 +00:00
2019-02-26 15:04:18 +00:00
2019-04-29 13:44:07 +00:00
2019-05-10 13:58:34 +00:00
2019-01-24 00:11:35 +00:00
2016-07-01 19:10:54 +00:00
2018-08-03 05:38:29 +00:00
2017-07-07 10:25:12 +00:00
2017-12-07 20:37:50 +00:00
2017-12-05 23:04:12 +00:00
2017-10-06 17:54:46 +00:00
2017-03-10 15:04:58 +00:00
2016-04-20 01:02:18 +00:00
2018-03-13 00:41:44 +00:00
2016-04-20 01:02:18 +00:00
2019-08-27 22:15:32 +00:00
2017-06-21 18:52:44 +00:00
2017-12-28 13:05:46 +00:00
2017-12-20 14:32:38 +00:00
2018-10-24 08:29:24 +00:00
2017-12-14 14:51:17 +00:00
2017-09-11 20:47:42 +00:00
2016-05-31 15:55:51 +00:00
2017-04-28 15:56:39 +00:00
2019-02-26 14:23:12 +00:00
2017-07-01 20:44:49 +00:00