Richard Smith
4e8144a0d1
[verify] Add support for location markers in directives.
...
A marker (matching /#[A-Za-z0-9_-]/) is specified by attaching a comment
containing the marker to the line at which the diagnostic is expected,
and then can be referenced from an expected-* directive after an @:
foo // #1
// expected-error@#1 {{undeclared identifier 'foo'}}
The intent is for markers to be used in situations where relative line
numbers are currently used, to avoid the need to renumber when the test
case is rearranged.
llvm-svn: 358326
2019-04-13 04:33:39 +00:00
..
2018-05-08 00:29:21 +00:00
2017-03-07 21:24:53 +00:00
2016-08-26 15:45:36 +00:00
2018-02-07 22:15:33 +00:00
2018-12-17 19:19:15 +00:00
2018-12-17 19:19:15 +00:00
2018-08-01 13:19:14 +00:00
2018-05-31 13:57:09 +00:00
2016-07-18 20:29:14 +00:00
2018-09-13 14:27:32 +00:00
2018-05-29 13:07:58 +00:00
2018-09-18 23:27:02 +00:00
2018-05-01 23:59:33 +00:00
2018-09-13 14:27:32 +00:00
2017-12-16 02:23:22 +00:00
2016-05-16 18:54:58 +00:00
2019-01-18 21:04:25 +00:00
2018-06-20 17:19:40 +00:00
2019-02-21 20:50:09 +00:00
2019-03-06 00:28:43 +00:00
2018-08-06 16:42:37 +00:00
2019-03-06 00:28:43 +00:00
2018-07-17 14:58:49 +00:00
2018-07-17 14:58:49 +00:00
2018-06-29 17:08:19 +00:00
2019-01-16 19:53:50 +00:00
2018-10-26 16:12:12 +00:00
2019-03-06 00:28:43 +00:00
2015-10-20 18:45:57 +00:00
2018-04-23 18:05:35 +00:00
2017-04-26 23:44:33 +00:00
2018-07-17 13:13:34 +00:00
2017-03-13 11:17:41 +00:00
2016-12-02 09:51:51 +00:00
2016-07-21 07:44:41 +00:00
2016-07-14 12:56:21 +00:00
2018-12-06 01:05:54 +00:00
2018-12-06 01:05:54 +00:00
2018-12-06 01:05:54 +00:00
2018-12-06 01:05:54 +00:00
2018-06-28 23:23:45 +00:00
2017-01-20 16:48:25 +00:00
2018-04-12 14:17:04 +00:00
2016-02-02 13:52:52 +00:00
2017-09-19 17:59:40 +00:00
2015-10-08 04:24:12 +00:00
2017-08-10 11:22:52 +00:00
2019-02-01 10:44:43 +00:00
2019-01-29 19:33:48 +00:00
2019-02-03 15:49:11 +00:00
2016-04-04 14:22:58 +00:00
2015-05-17 01:07:16 +00:00
2019-01-03 18:26:06 +00:00
2016-11-30 00:31:16 +00:00
2016-02-11 16:43:08 +00:00
2017-06-16 20:13:39 +00:00
2017-03-07 20:20:23 +00:00
2018-05-04 15:58:31 +00:00
2016-04-08 22:43:06 +00:00
2018-01-27 00:25:29 +00:00
2017-08-04 21:52:00 +00:00
2017-06-02 01:05:44 +00:00
2017-04-29 00:54:03 +00:00
2018-01-04 23:03:48 +00:00
2017-04-29 00:34:47 +00:00
2018-04-13 17:43:15 +00:00
2015-09-11 13:29:12 +00:00
2019-02-03 15:49:11 +00:00
2018-04-12 14:17:04 +00:00
2017-08-24 23:25:05 +00:00
2017-05-23 16:09:13 +00:00
2018-01-06 00:25:40 +00:00
2015-06-13 07:11:40 +00:00
2019-04-13 04:33:39 +00:00
2019-04-13 04:33:39 +00:00
2017-12-16 02:23:22 +00:00
2019-01-29 19:33:48 +00:00
2019-01-29 19:33:48 +00:00
2019-01-29 19:33:48 +00:00
2019-01-29 19:33:48 +00:00
2018-12-06 22:45:58 +00:00
2018-08-08 22:23:57 +00:00
2019-02-26 17:15:36 +00:00