From: Simon Marchi Date: Mon, 9 Sep 2024 17:59:50 +0000 (-0400) Subject: src.ctf.lttng-live: add IWYU pragma X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ffc576648d07186bd24508b7ceeaf9ff95fdda8f;p=babeltrace.git src.ctf.lttng-live: add IWYU pragma 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 Reviewed-on: https://review.lttng.org/c/babeltrace/+/13253 Tested-by: jenkins Reviewed-by: Philippe Proulx --- diff --git a/src/plugins/ctf/lttng-live/lttng-live.cpp b/src/plugins/ctf/lttng-live/lttng-live.cpp index a1105828..0f2d6b5f 100644 --- a/src/plugins/ctf/lttng-live/lttng-live.cpp +++ b/src/plugins/ctf/lttng-live/lttng-live.cpp @@ -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"