Rafael Espindola
3560edede3
Make "@name =" mandatory for globals in .ll files.
...
An oddity of the .ll syntax is that the "@var = " in
@var = global i32 42
is optional. Writing just
global i32 42
is equivalent to
@0 = global i32 42
This means that there is a pretty big First set at the top level. The
current implementation maintains it manually. I was trying to refactor
it, but then started wondering why keep it a all. I personally find the
above syntax confusing. It looks like something is missing.
This patch removes the feature and simplifies the parser.
llvm-svn: 269096
2016-05-10 18:22:45 +00:00
..
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 19:29:02 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-05-10 18:22:45 +00:00
2015-03-13 18:20:45 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2015-03-13 18:20:45 +00:00
2015-03-13 18:20:45 +00:00
2016-04-25 23:36:50 +00:00
2015-09-11 03:22:04 +00:00
2015-09-11 03:22:04 +00:00
2016-04-25 23:36:50 +00:00
2016-05-10 18:22:45 +00:00
2016-04-25 23:36:50 +00:00
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-12-22 19:50:22 +00:00
2015-09-11 03:22:04 +00:00
2015-09-11 03:22:04 +00:00
2016-03-15 14:18:26 +00:00
2015-03-13 18:20:45 +00:00
2015-08-25 01:48:49 +00:00
2015-02-27 21:17:42 +00:00
2015-12-09 16:17:07 +00:00
2016-04-26 00:28:01 +00:00
2015-03-27 22:04:28 +00:00
2015-06-17 20:52:32 +00:00
2016-04-25 23:36:50 +00:00
2015-03-13 18:20:45 +00:00
2015-03-13 18:20:45 +00:00
2015-11-19 05:56:52 +00:00
2015-02-27 19:29:02 +00:00
2015-03-13 18:20:45 +00:00
2015-03-13 18:20:45 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2016-04-25 23:36:50 +00:00
2015-12-22 19:50:22 +00:00
2015-11-09 16:47:16 +00:00
2015-03-13 18:20:45 +00:00
2015-10-12 13:20:52 +00:00
2015-02-27 21:17:42 +00:00
2015-11-15 14:21:37 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-01-22 21:18:20 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-04-25 23:36:50 +00:00
2015-02-27 21:17:42 +00:00
2015-09-15 18:32:14 +00:00
2015-06-17 20:52:32 +00:00
2016-04-25 23:36:50 +00:00
2015-02-27 21:17:42 +00:00
2015-12-22 19:50:22 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-01-22 21:18:20 +00:00
2016-04-25 23:36:50 +00:00
2015-11-19 05:56:52 +00:00
2015-11-19 05:56:52 +00:00
2015-11-15 14:21:37 +00:00
2016-04-25 23:36:50 +00:00
2015-01-06 22:55:16 +00:00
2015-01-06 22:55:16 +00:00
2016-01-22 21:18:20 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2015-07-28 16:24:05 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2015-12-22 20:43:30 +00:00
2015-02-27 21:17:42 +00:00