From 45f688157dce9078e163b838da705b2c557386cf Mon Sep 17 00:00:00 2001 From: Raul Costa Junior Date: Sat, 3 Aug 2024 08:17:52 +0200 Subject: [PATCH] Avoid clangd warning about include not used directly --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index f73ae9c..321ccfe 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,7 +7,9 @@ #include #include -#include "CLI/CLI.hpp" +// Details about the IWYU pragma below can be found at +// https://clangd.llvm.org/guides/include-cleaner#unused-include-warning +#include "CLI/CLI.hpp" // IWYU pragma: keep #include "Parser.hpp" #include "Scanner.hpp" #include "Version.hpp"