Elias Naur
e99a906c3a
bind: avoid ObjC reserved names
...
The new tests in CL 28494 exposed a bug: the ObjC generator does
not avoid reserved names and names with special meaning ("init").
Generalize the name sanitizer from the Java generator and use that.
Also, move the lowerFirst function to gen.go since it is now used
by both generators.
Change-Id: I25b7af2594b2ea136f05d2bab1cfdc66ba169859
Reviewed-on: https://go-review.googlesource.com/28592
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2016-09-07 14:13:50 +00:00
..
2016-03-07 16:10:51 +00:00
2016-06-23 18:55:48 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-03-03 15:03:45 +00:00
2016-03-03 15:03:45 +00:00
2016-07-07 16:20:08 +00:00
2016-07-07 16:20:08 +00:00
2015-08-28 13:57:06 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-03-03 15:03:45 +00:00
2016-03-03 15:03:45 +00:00
2016-06-23 18:55:48 +00:00
2016-03-14 13:45:40 +00:00
2016-03-15 16:00:42 +00:00
2016-03-30 18:24:55 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-03-15 16:00:42 +00:00
2016-03-15 16:00:42 +00:00
2016-06-23 18:55:48 +00:00
2016-03-15 16:00:42 +00:00
2016-03-29 08:36:18 +00:00
2016-06-23 18:55:48 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-06-23 18:55:48 +00:00
2016-06-23 18:55:48 +00:00
2016-06-23 18:55:48 +00:00
2016-06-23 18:55:48 +00:00
2015-05-12 22:05:40 +00:00
2016-03-30 18:24:55 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-03-12 06:23:01 +00:00
2016-03-03 15:03:45 +00:00
2016-07-07 16:20:08 +00:00
2016-07-07 16:20:08 +00:00
2015-08-26 20:25:55 +00:00
2016-06-23 18:55:48 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-03-12 06:23:01 +00:00
2016-03-03 15:03:45 +00:00
2016-06-23 18:55:48 +00:00
2016-06-23 18:55:48 +00:00
2015-08-31 16:32:47 +00:00
2016-06-23 18:55:48 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-06-23 18:55:48 +00:00
2016-06-23 18:55:48 +00:00
2016-06-23 18:55:48 +00:00
2016-06-23 18:55:48 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 14:13:50 +00:00
2016-09-07 14:13:50 +00:00
2016-03-14 13:30:01 +00:00
2016-06-23 18:55:48 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-03-12 06:23:01 +00:00
2016-03-03 15:03:45 +00:00
2016-06-23 18:55:48 +00:00
2016-06-23 18:55:48 +00:00
2015-08-24 21:08:09 +00:00
2016-03-05 10:02:05 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-03-03 15:03:45 +00:00
2016-03-03 15:03:45 +00:00
2016-06-23 18:55:48 +00:00
2016-03-14 13:45:40 +00:00
2015-10-07 20:48:45 +00:00
2016-03-30 18:24:55 +00:00
2016-09-07 12:52:06 +00:00
2016-09-07 12:52:06 +00:00
2016-03-12 06:23:01 +00:00
2016-03-03 15:03:45 +00:00
2016-07-07 16:20:08 +00:00
2016-07-07 16:20:08 +00:00