Aman Priyadarshi
468c00a3fe
Rebased: grpc/compiler: Respect filename suffix and extension during code generation ( #7414 )
...
* grpc/compiler: Respect filename suffix and extension during code generation
grpc compiler is not respecting filename suffix and extension passed to
flatc CLI. This causes compiler to spit out incorrect code, which then
cannot be compiled without modification.
Following patch fixes the problem.
Note, I ended up removing some code introduced #6954 ("Have grpc include
file with correct filename-suffix given to flatc") in favour of keeping
sanity of the generator code.
Signed-off-by: Aman Priyadarshi <aman.eureka@gmail.com >
* tests: Add filename-suffix and filename-ext test files
* Test 1: Filename extension changed to "hpp".
* Test 2: Filename suffix changed to "_suffix".
* Test 3: Filename extension changed to "hpp" and suffix changed to "_suffix"
Signed-off-by: Aman Priyadarshi <aman.eureka@gmail.com >
2022-08-07 11:32:53 -07:00
..
2022-03-29 10:01:32 -07:00
2022-04-26 21:40:03 -04:00
2022-04-05 16:29:42 -07:00
2022-04-11 17:17:19 -07:00
2021-11-30 23:13:24 -08:00
2022-03-31 20:56:41 -07:00
2019-02-21 23:36:55 +01:00
2022-04-19 10:52:10 +02:00
2022-07-26 13:22:18 -07:00
2022-05-29 20:56:33 +02:00
2022-05-29 20:56:33 +02:00
2022-08-06 21:11:03 -07:00
2022-04-21 21:22:20 -07:00
2021-07-22 19:02:28 -04:00
2022-04-26 21:40:03 -04:00
2022-04-26 21:40:03 -04:00
2022-04-26 21:40:03 -04:00
2022-03-28 18:07:09 -04:00
2022-04-26 21:40:03 -04:00
2022-04-26 21:40:03 -04:00
2022-08-07 11:32:53 -07:00
2022-04-26 21:40:03 -04:00
2022-03-23 21:40:11 -07:00
2022-04-11 17:17:19 -07:00
2021-05-14 13:56:52 -07:00
2022-04-26 21:40:03 -04:00
2021-09-15 16:57:29 -05:00
2022-06-13 09:16:00 -04:00
2022-02-23 22:31:40 -06:00
2022-06-05 23:04:05 +02:00
2022-04-19 13:07:26 -07:00
2022-01-30 19:29:18 -05:00
2022-04-26 21:40:03 -04:00
2022-03-22 21:41:39 -07:00
2022-03-30 12:51:58 -07:00
2022-04-01 13:35:07 -07:00
2022-03-31 20:56:41 -07:00
2021-12-02 21:29:19 -08:00
2019-08-23 10:46:47 -07:00
2019-08-23 10:46:47 -07:00
2021-02-10 11:45:34 -08:00
2022-06-16 09:26:44 -07:00
2022-06-28 11:16:47 -04:00
2022-04-11 17:16:41 -07:00
2022-06-14 15:10:57 -07:00
2020-05-07 14:11:26 -07:00
2022-04-16 15:29:18 -07:00
2022-02-21 22:33:47 -06:00
2022-02-21 22:33:47 -06:00
2022-02-21 22:33:47 -06:00
2021-01-19 12:51:13 -08:00
2022-08-05 22:00:16 -07:00
2021-04-12 10:41:59 -07:00
2019-02-21 19:50:13 +01:00
2019-10-17 15:16:40 -07:00
2022-04-11 17:16:41 -07:00
2020-10-26 17:46:50 -07:00
2022-03-28 18:07:09 -04:00
2022-04-11 17:17:19 -07:00
2020-06-22 17:08:35 -07:00
2022-03-08 15:39:12 -08:00
2021-12-02 21:29:19 -08:00
2021-05-07 22:57:13 -07:00
2021-12-02 21:29:19 -08:00
2022-03-31 20:56:41 -07:00
2022-03-28 18:07:09 -04:00
2020-01-23 14:53:58 -08:00
2022-03-31 20:56:41 -07:00
2021-12-03 11:23:58 -08:00
2021-12-03 11:23:58 -08:00
2022-04-05 16:29:42 -07:00
2022-05-23 10:50:01 -07:00
2022-03-23 21:40:11 -07:00
2021-05-20 11:34:17 -07:00
2021-05-20 11:34:17 -07:00
2021-09-28 13:23:30 -07:00
2021-09-28 13:23:30 -07:00
2022-03-28 18:07:09 -04:00
2022-04-21 20:43:55 -07:00
2022-03-23 21:40:11 -07:00
2022-03-23 21:40:11 -07:00
2021-06-06 17:40:56 +07:00
2022-07-26 15:05:01 -07:00
2021-06-01 09:09:55 -07:00
2022-03-23 21:40:11 -07:00
2022-03-23 21:40:11 -07:00
2019-07-08 11:22:56 -07:00
2021-01-07 11:54:00 -08:00
2019-07-26 11:06:25 -07:00
2022-03-30 16:43:22 -07:00
2019-07-26 09:13:11 -07:00
2022-02-02 23:44:43 -08:00
2022-02-02 23:44:43 -08:00
2021-04-06 07:23:45 -04:00
2022-02-02 23:39:19 +03:00
2022-03-31 20:56:41 -07:00
2021-03-18 11:01:50 -07:00
2021-11-19 17:01:48 -08:00
2021-03-18 11:01:50 -07:00
2022-06-16 09:26:44 -07:00
2022-03-31 20:56:41 -07:00
2022-05-23 10:50:01 -07:00
2020-10-22 13:36:02 -07:00
2022-06-16 09:26:44 -07:00
2022-02-23 22:31:40 -06:00
2021-04-12 10:41:59 -07:00
2018-10-15 16:55:59 -07:00
2017-08-11 09:24:36 -07:00
2017-08-11 09:24:36 -07:00
2022-06-05 23:04:05 +02:00
2020-05-07 14:26:33 -07:00
2022-06-13 09:16:00 -04:00
2021-12-09 15:47:09 -08:00
2022-01-31 21:52:15 -08:00
2022-01-30 19:29:18 -05:00
2022-02-15 11:48:42 -05:00
2021-06-03 14:17:40 -07:00
2020-03-02 10:15:23 -08:00
2021-11-12 14:01:11 -08:00
2021-11-12 14:01:11 -08:00
2021-11-22 12:14:31 -08:00
2022-08-05 10:45:01 -07:00
2021-01-19 12:51:13 -08:00
2022-03-10 10:08:13 -08:00
2022-03-30 12:51:58 -07:00
2022-03-10 10:08:13 -08:00
2022-01-06 20:35:37 -06:00
2022-03-10 10:08:13 -08:00
2019-10-10 15:25:39 -07:00
2021-04-12 10:41:59 -07:00
2022-05-11 15:35:53 +02:00