flt.utils.muxer: add IWYU pragma
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 9 Sep 2024 17:59:50 +0000 (13:59 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 11 Sep 2024 03:25:36 +0000 (23:25 -0400)
clangd reports that the include of cpp-common/bt2c/fmt.hpp is unused,
but it is in fact used for the formatting of some types.  Add a pragma.

Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Change-Id: I43ebf7f7fc917f273ac6eaa88bf26790c83d9ead
Reviewed-on: https://review.lttng.org/c/babeltrace/+/13254
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/utils/muxer/msg-iter.cpp

index 2754bb1143c61bc597fc59bbda2c13569039add3..fbfecea07ce9661dfa1a2e7d951bc89bd69d179e 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <babeltrace2/babeltrace.h>
 
-#include "cpp-common/bt2c/fmt.hpp"
+#include "cpp-common/bt2c/fmt.hpp" /* IWYU pragma: keep */
 #include "cpp-common/bt2s/make-unique.hpp"
 #include "cpp-common/vendor/fmt/format.h"
 
This page took 0.024853 seconds and 4 git commands to generate.