Volodymyr Sapsai
e32ff09685
[Preprocessor] Fix crash emitting note with framework location for "file not found" error.
...
A filename can be remapped with a header map to point to a framework
header and we can find the corresponding framework without the header.
But if the original filename doesn't have a remapped framework name,
we'll fail to find its location and will dereference a null pointer
during diagnostics emission.
Fix by tracking remappings better and emit the note only if a framework
is found before any of the remappings.
rdar://problem/48883447
Reviewers: arphaman, erik.pilkington, jkorous
Reviewed By: arphaman
Subscribers: dexonsmith, cfe-commits
Differential Revision: https://reviews.llvm.org/D61707
llvm-svn: 361779
2019-05-27 19:15:30 +00:00
..
2019-05-27 19:15:30 +00:00
2019-03-19 22:09:55 +00:00
2019-04-11 21:18:22 +00:00
2015-02-26 00:17:25 +00:00
2015-07-30 21:30:00 +00:00
2019-04-26 21:08:11 +00:00
2015-03-18 07:53:20 +00:00
2018-09-28 10:18:02 +00:00
2017-12-28 16:58:54 +00:00
2019-02-18 12:39:47 +00:00
2019-05-21 14:21:26 +00:00
2016-01-27 02:18:28 +00:00
2019-04-26 15:35:51 +00:00
2018-10-18 17:42:41 +00:00
2016-04-20 01:02:18 +00:00
2016-08-02 23:43:04 +00:00
2016-11-18 01:11:32 +00:00
2016-08-02 23:43:04 +00:00
2018-01-15 21:16:25 +00:00
2014-12-11 12:18:08 +00:00
2017-07-14 09:23:40 +00:00
2015-06-26 17:49:10 +00:00
2017-01-14 21:12:08 +00:00
2016-11-17 22:45:31 +00:00
2016-11-17 22:45:31 +00:00
2016-11-17 22:45:31 +00:00
2016-11-17 22:45:31 +00:00
2016-02-04 11:54:45 +00:00
2018-09-13 21:10:08 +00:00
2016-01-19 15:15:31 +00:00
2016-04-16 00:07:09 +00:00
2018-12-14 21:11:28 +00:00
2019-05-16 21:13:49 +00:00
2016-04-16 00:07:09 +00:00
2018-11-09 17:19:45 +00:00
2017-12-07 23:10:09 +00:00
2019-03-19 01:51:19 +00:00
2016-10-27 14:17:10 +00:00
2014-01-15 09:08:07 +00:00
2018-06-22 09:46:40 +00:00
2018-06-22 09:46:40 +00:00
2018-12-05 21:38:35 +00:00
2014-05-21 06:13:51 +00:00
2017-12-11 18:14:51 +00:00
2018-07-25 19:16:26 +00:00
2019-05-27 19:15:30 +00:00
2019-02-05 22:34:55 +00:00
2018-09-20 17:22:43 +00:00
2019-01-15 20:08:23 +00:00
2019-03-21 20:42:13 +00:00
2018-10-01 14:38:43 +00:00
2019-05-10 20:11:36 +00:00
2015-10-30 16:30:45 +00:00
2019-05-16 14:22:37 +00:00
2016-04-05 08:36:47 +00:00
2016-04-05 08:36:47 +00:00
2017-12-15 19:58:38 +00:00
2017-12-14 19:22:41 +00:00
2017-12-15 20:07:53 +00:00
2017-12-14 19:22:41 +00:00
2017-12-14 19:22:41 +00:00
2017-12-14 19:22:41 +00:00
2014-12-29 12:09:08 +00:00
2017-05-23 16:09:13 +00:00
2014-10-20 23:26:58 +00:00
2014-06-26 17:24:16 +00:00
2019-02-14 04:13:17 +00:00
2014-02-04 19:18:32 +00:00
2015-08-12 18:24:59 +00:00
2014-02-24 20:50:36 +00:00
2016-02-09 08:51:26 +00:00
2019-05-10 20:11:36 +00:00
2019-05-10 20:11:36 +00:00
2014-10-25 11:40:40 +00:00
2018-04-06 15:14:32 +00:00
2015-12-29 23:06:17 +00:00
2014-02-04 19:18:28 +00:00
2017-12-06 17:00:53 +00:00
2014-04-04 00:17:16 +00:00
2019-05-10 20:11:36 +00:00
2014-02-04 19:18:35 +00:00
2017-10-15 01:26:26 +00:00
2019-05-04 06:46:18 +00:00
2019-05-04 06:46:18 +00:00
2019-03-26 11:22:37 +00:00
2018-01-04 22:58:30 +00:00
2015-08-01 02:55:59 +00:00
2014-12-18 11:14:21 +00:00
2014-12-18 11:14:21 +00:00
2015-08-01 02:55:59 +00:00
2016-01-22 19:26:44 +00:00
2015-07-28 16:48:12 +00:00
2016-10-25 10:13:10 +00:00
2018-06-22 09:46:40 +00:00
2015-06-15 23:44:27 +00:00
2016-06-23 15:07:32 +00:00
2017-04-29 00:34:47 +00:00
2015-02-24 13:34:20 +00:00
2017-10-06 23:09:55 +00:00
2017-09-27 23:29:37 +00:00
2017-04-28 14:45:25 +00:00
2019-05-10 13:40:17 +00:00
2017-05-05 22:34:07 +00:00
2015-03-23 20:41:42 +00:00
2018-01-05 22:45:03 +00:00
2018-02-07 01:46:46 +00:00
2018-11-15 03:04:21 +00:00
2019-03-13 05:14:50 +00:00
2014-10-27 20:02:19 +00:00
2018-08-30 20:53:15 +00:00
2015-06-24 22:02:16 +00:00
2019-03-21 20:36:08 +00:00
2017-10-16 23:07:15 +00:00
2014-02-20 22:59:51 +00:00
2016-02-13 01:44:05 +00:00
2018-04-05 12:54:00 +00:00
2018-07-17 12:33:19 +00:00
2016-04-01 19:02:20 +00:00
2017-05-04 21:31:17 +00:00
2019-02-25 11:48:48 +00:00
2016-05-06 21:17:32 +00:00
2015-08-31 21:48:52 +00:00
2014-02-05 15:32:23 +00:00
2014-05-21 06:13:51 +00:00
2016-04-05 08:36:47 +00:00
2019-05-23 17:26:47 +00:00
2017-10-06 23:09:55 +00:00
2016-02-13 01:44:05 +00:00
2018-09-19 16:18:55 +00:00
2014-05-04 01:56:04 +00:00
2019-02-14 19:27:25 +00:00
2019-05-16 18:28:17 +00:00