Michal Nazarewicz
fab2332851
cc-mode: add ‘c-lineup-ternary-bodies’ (bug#41061)
...
Introduce ‘c-lineup-ternary-bodies’ function which, when used as
a c lineup function, aligns question mark and colon of a ternary
operator. For example:
return arg % 2 == 0 ? arg / 2
: (3 * arg + 1);
* lisp/progmodes/cc-align.el (c-lineup-ternary-bodies): New function.
* doc/misc/cc-mode.texi (Operator Line-Up Functions): Document the
new function.
* test/lisp/progmodes/cc-mode-tests.el (c-lineup-ternary-bodies): New
test case.
2020-05-09 11:30:32 +01:00
..
2019-07-03 14:49:38 +03:00
2020-03-29 11:14:03 +02:00
2020-04-29 08:44:23 -07:00
2020-04-28 16:11:47 +02:00
2020-05-01 13:05:26 +02:00
2020-05-07 08:23:56 -04:00
2020-05-01 13:05:26 +02:00
2020-05-01 13:05:26 +02:00
2020-04-29 10:28:07 +02:00
2020-05-01 13:05:26 +02:00
2020-03-24 22:21:26 +01:00
2020-04-25 00:39:46 +02:00
2020-04-30 10:36:54 +02:00
2020-05-07 10:27:14 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-09 11:30:32 +01:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-04-25 09:12:24 +02:00
2020-04-24 20:26:36 +02:00
2020-04-28 10:36:34 +02:00
2020-01-01 00:59:52 +00:00
2020-04-18 18:43:23 +02:00
2020-01-01 00:59:52 +00:00
2020-01-22 07:37:01 +01:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-22 11:45:26 +01:00
2020-01-26 04:11:38 +01:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-04-30 10:46:54 +01:00
2020-03-18 12:37:47 +01:00
2020-04-19 08:04:57 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-07 11:29:42 -08:00
2020-03-07 12:17:01 -08:00
2020-03-07 12:15:43 -08:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-02-04 02:04:20 +01:00
2020-01-01 00:59:52 +00:00
2020-04-14 02:33:52 +03:00
2020-01-01 00:59:52 +00:00
2020-01-24 23:04:34 +01:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-05-01 13:05:26 +02:00
2020-04-18 17:10:02 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-04-26 00:30:37 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-20 15:52:27 +01:00
2020-04-29 07:50:20 -07:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-02-21 11:15:00 +02:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 01:08:16 +00:00
2020-01-01 00:59:52 +00:00
2020-04-28 23:35:52 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00