cpp-common/bt2c: Logger: remove `noThrow` suffixes
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 4 Apr 2024 02:29:21 +0000 (22:29 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 17 Apr 2024 17:57:53 +0000 (13:57 -0400)
commit9d15c577f01657e81be83b054f5edb218b0d6552
treeb149812ec6330620f4fa162800f1fae81a28bfdb
parent65b35e821f4362b9e8322b85aa361c06c2d74a94
cpp-common/bt2c: Logger: remove `noThrow` suffixes

I think that the `noThrow` suffixes are unnecessary.  Since the methods
that throw (or rethrow) have the `AndThrow` (or `AndRethrow`) suffixes,
it is implied that those that don't, don't.

Simplify some macro comments to omit "without appending nor throwing",
for the same reason (if the macro name doesn't contain "APPEND_CAUSE",
it doesn't append a cause, if it doesn't contain "THROW", it doesn't
throw).

Change-Id: Ia71cf733e857e89578648eda12bf64b2bfc65027
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12229
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/cpp-common/bt2c/logging.hpp
This page took 0.024131 seconds and 4 git commands to generate.