Nick Mathewson
cc397449fc
Use __attribute__((fallthrough)) rather than magic GCC comments.
...
GCC added an implicit-fallthrough warning a while back, where it
would complain if you had a nontrivial "case:" block that didn't end
with break, return, or something like that. Clang recently added
the same thing.
GCC, however, would let you annotate a fall-through as intended by
any of various magic "/* fall through */" comments. Clang, however,
only seems to like "__attribute__((fallthrough))". Fortunately, GCC
accepts that too.
A previous commit in this branch defined a FALLTHROUGH macro to do
the right thing if GNUC is defined; here we replace all of our "fall
through" comments with uses of that macro.
This is an automated commit, made with the following perl one-liner:
#!/usr/bin/perl -i -p
s#/\* *falls? ?thr.*?\*/#FALLTHROUGH;#i;
2020-05-06 16:51:11 -04:00
..
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2017-08-08 20:29:34 -04:00
2016-06-11 10:11:54 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2017-09-14 09:13:11 -04:00
2017-09-15 12:46:26 +03:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2018-10-29 10:00:23 -07:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2017-12-07 00:04:39 +00:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2018-06-20 18:02:49 -04:00
2016-08-26 14:46:29 -04:00
2016-07-01 14:01:41 -04:00
2019-01-16 12:32:32 -05:00
2019-03-08 12:33:00 +10:00
2019-01-16 12:32:32 -05:00
2019-02-26 09:53:59 +10:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2018-07-18 16:33:48 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-06-19 07:40:05 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2020-02-12 12:21:41 +10:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2020-03-17 10:44:38 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-03-21 12:56:28 +10:00
2019-01-16 12:32:32 -05:00
2020-03-10 14:45:13 -04:00
2019-01-16 12:32:32 -05:00
2019-09-06 16:43:14 +10:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-05-22 11:43:55 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2017-08-21 19:16:30 +03:00
2019-05-22 11:43:55 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2017-04-13 09:22:19 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-04-10 19:03:43 +10:00
2019-04-10 19:03:43 +10:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-10-20 20:09:35 +10:00
2019-06-10 20:49:59 +10:00
2019-03-08 19:37:18 +10:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-02-12 09:15:41 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2018-10-01 22:55:59 -07:00
2019-01-16 12:32:32 -05:00
2019-03-20 09:48:03 +10:00
2019-01-16 12:32:32 -05:00
2020-05-06 16:51:11 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2016-06-20 11:15:47 -04:00
2019-03-14 06:47:32 +10:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-04-09 13:49:10 -04:00
2019-01-16 12:32:32 -05:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2016-06-08 17:29:06 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2018-07-05 17:15:50 -04:00
2019-01-16 12:32:32 -05:00
2019-02-27 09:38:04 +10:00
2018-07-05 17:15:50 -04:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2019-01-16 12:32:32 -05:00
2020-03-19 18:36:36 -04:00
2019-01-16 12:32:32 -05:00
2016-06-11 10:11:54 -04:00
2019-04-10 19:03:43 +10:00