Remove IWYU pragmas
These were added as part of
d5c80ad9c07b94465d8ea62d2b6f87c30cac765e: test treewide: iwyu
Since then, Nan hasn't been very active on the project, and to my
knowledge, since the initial run, we've never used IWYU again.
clang-include-cleaner seems to work well without needing these pragmas,
and is what we're using, even if it's less useful than IWYU.
Remove all mention of IWYU.
Tested: Code compiles.
Change-Id: I06feedeeac9a114f5bdec81d59ca83223efd8aa7
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/test/http/crow_getroutes_test.cpp b/test/http/crow_getroutes_test.cpp
index 0c3f8de..dc6e427 100644
--- a/test/http/crow_getroutes_test.cpp
+++ b/test/http/crow_getroutes_test.cpp
@@ -4,15 +4,8 @@
#include <memory>
-#include <gmock/gmock.h> // IWYU pragma: keep
-#include <gtest/gtest.h> // IWYU pragma: keep
-
-// IWYU pragma: no_include <gtest/gtest-message.h>
-// IWYU pragma: no_include <gtest/gtest-test-part.h>
-// IWYU pragma: no_include "gtest/gtest_pred_impl.h"
-// IWYU pragma: no_include <gmock/gmock-matchers.h>
-// IWYU pragma: no_include <gmock/gmock-more-matchers.h>
-// IWYU pragma: no_include <gtest/gtest-matchers.h>
+#include <gmock/gmock.h>
+#include <gtest/gtest.h>
namespace crow
{
diff --git a/test/http/mutual_tls.cpp b/test/http/mutual_tls.cpp
index e354466..bb3cbbf 100644
--- a/test/http/mutual_tls.cpp
+++ b/test/http/mutual_tls.cpp
@@ -21,7 +21,7 @@
#include <memory>
#include <gmock/gmock.h>
-#include <gtest/gtest.h> // IWYU pragma: keep
+#include <gtest/gtest.h>
using ::testing::IsNull;
using ::testing::NotNull;
diff --git a/test/http/mutual_tls_meta.cpp b/test/http/mutual_tls_meta.cpp
index 0e280c1..918a9c9 100644
--- a/test/http/mutual_tls_meta.cpp
+++ b/test/http/mutual_tls_meta.cpp
@@ -4,7 +4,7 @@
#include <string>
#include <vector>
-#include <gtest/gtest.h> // IWYU pragma: keep
+#include <gtest/gtest.h>
namespace redfish
{
diff --git a/test/http/router_test.cpp b/test/http/router_test.cpp
index e0e5b7a..5430872 100644
--- a/test/http/router_test.cpp
+++ b/test/http/router_test.cpp
@@ -1,9 +1,8 @@
-#include "async_resp.hpp" // IWYU pragma: keep
+#include "async_resp.hpp"
#include "http_request.hpp"
#include "routing.hpp"
#include "utility.hpp"
-#include <boost/beast/http/message.hpp> // IWYU pragma: keep
#include <boost/beast/http/verb.hpp>
#include <memory>
@@ -11,13 +10,8 @@
#include <string_view>
#include <system_error>
-#include <gtest/gtest.h> // IWYU pragma: keep
+#include <gtest/gtest.h>
-// IWYU pragma: no_include <boost/beast/http/impl/message.hpp>
-// IWYU pragma: no_include "gtest/gtest_pred_impl.h"
-// IWYU pragma: no_include <boost/intrusive/detail/list_iterator.hpp>
-// IWYU pragma: no_include <gtest/gtest-message.h>
-// IWYU pragma: no_include <gtest/gtest-test-part.h>
// IWYU pragma: no_forward_declare bmcweb::AsyncResp
namespace crow
diff --git a/test/http/utility_test.cpp b/test/http/utility_test.cpp
index f5ae5b1..36725ef 100644
--- a/test/http/utility_test.cpp
+++ b/test/http/utility_test.cpp
@@ -12,10 +12,7 @@
#include <string>
#include <string_view>
-#include <gtest/gtest.h> // IWYU pragma: keep
-// IWYU pragma: no_include <gtest/gtest-message.h>
-// IWYU pragma: no_include <gtest/gtest-test-part.h>
-// IWYU pragma: no_include "gtest/gtest_pred_impl.h"
+#include <gtest/gtest.h>
namespace crow::utility
{
diff --git a/test/http/verb_test.cpp b/test/http/verb_test.cpp
index 698e39c..c2faab3 100644
--- a/test/http/verb_test.cpp
+++ b/test/http/verb_test.cpp
@@ -6,7 +6,7 @@
#include <optional>
#include <string_view>
-#include <gtest/gtest.h> // IWYU pragma: keep
+#include <gtest/gtest.h>
using BoostVerb = boost::beast::http::verb;