src.ctf.lttng-live: 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>
Tue, 10 Sep 2024 17:57:58 +0000 (13:57 -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.

Change-Id: I850fb44383b61bd46880c4eb67bd9a2323c0d725
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/13253
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/lttng-live/lttng-live.cpp

index a1105828982fde3951df9c62fcd304e7e3775235..0f2d6b5f48f7b979f09f055685bfe07bf938f32b 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "common/assert.h"
 #include "cpp-common/bt2/wrap.hpp"
-#include "cpp-common/bt2c/fmt.hpp"
+#include "cpp-common/bt2c/fmt.hpp" /* IWYU pragma: keep */
 #include "cpp-common/bt2c/glib-up.hpp"
 #include "cpp-common/bt2c/vector.hpp"
 #include "cpp-common/bt2s/make-unique.hpp"
This page took 0.025422 seconds and 4 git commands to generate.