Alexander B 7ab7a5291d
Improve implementation of logging macros. #2331 (#3862)
* Improve implementation of logging macros. #2331

The GNU compiler emits a warning if nested "if" statements are followed by
an "else" statement and braces are not used to explicitly disambiguate the
"else" binding.  This leads to problems with code like:

   if (gate)
     ASSERT_*(condition) << "Some message";

The "switch (0) case 0:" idiom is used to suppress this.

* I was wrong.
do-while better then switch-case approach for "ambiguous else blocker"
https://godbolt.org/z/W5nnYrzx6

* try to fix tabs

* again fix tabs

* again fix tabs

* again fix tabs
2023-03-18 05:21:32 -05:00
..
2021-06-26 06:30:49 +02:00
2022-07-07 04:18:20 -05:00
2022-07-26 06:54:56 -05:00
2022-07-07 04:18:20 -05:00
2020-01-09 18:02:29 +01:00
2020-01-09 18:02:29 +01:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-18 05:21:33 -05:00
2022-07-07 04:18:20 -05:00
2017-11-09 12:42:13 +01:00
2017-09-09 11:14:06 +02:00
2017-09-09 11:14:06 +02:00
2017-09-09 11:14:06 +02:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2021-04-14 20:12:17 +02:00
2022-07-07 04:18:20 -05:00
2023-03-17 15:24:57 -05:00
2017-09-09 11:14:06 +02:00
2023-03-17 15:24:57 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2017-09-09 11:14:06 +02:00
2017-09-09 11:14:06 +02:00
2017-09-09 11:14:06 +02:00
2017-09-09 11:14:06 +02:00
2022-07-06 10:46:38 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2022-07-07 04:18:20 -05:00
2022-07-26 06:54:56 -05:00
2022-07-07 04:18:20 -05:00
2017-09-09 11:14:06 +02:00
2022-07-26 06:54:56 -05:00
2022-07-26 06:54:56 -05:00
2022-07-26 06:54:56 -05:00
2022-07-26 06:54:56 -05:00
2022-07-26 06:54:56 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-06 10:46:38 -05:00
2023-01-24 00:42:43 -06:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-07-07 04:18:20 -05:00
2022-08-10 15:32:29 +02:00
2022-07-07 04:18:20 -05:00
2022-11-10 19:15:55 +01:00
2022-11-10 19:15:55 +01:00