Skip to content

Commit f5e3ffd

Browse files
authored
chore: add IWYU directives to engine/Step.hpp and engine/StringTo.hpp (#238)
1 parent 12610c1 commit f5e3ffd

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

cucumber_cpp/CucumberCpp.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
#include "cucumber_cpp/library/Context.hpp"
66
#include "cucumber_cpp/library/Hooks.hpp"
77
#include "cucumber_cpp/library/Steps.hpp"
8+
#include "cucumber_cpp/library/engine/StringTo.hpp"
89
#include "cucumber_cpp/library/report/Report.hpp"
910

1011
namespace cucumber_cpp
1112
{
1213
using cucumber_cpp::library::Application;
1314
using cucumber_cpp::library::Context;
1415
using cucumber_cpp::library::engine::Step;
16+
using cucumber_cpp::library::engine::StringTo;
1517
using cucumber_cpp::library::report::ReportHandlerV2;
1618
}
1719

cucumber_cpp/library/engine/Step.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#ifndef ENGINE_STEP_HPP
22
#define ENGINE_STEP_HPP
33

4+
// IWYU pragma: private, include "cucumber_cpp/CucumberCpp.hpp"
5+
// IWYU pragma: friend cucumber_cpp/.*
6+
47
#include "cucumber_cpp/library/Context.hpp"
58
#include "cucumber_cpp/library/engine/Table.hpp"
69
#include <exception>

cucumber_cpp/library/engine/StringTo.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#ifndef ENGINE_STRINGTO_HPP
22
#define ENGINE_STRINGTO_HPP
33

4+
// IWYU pragma: private, include "cucumber_cpp/CucumberCpp.hpp"
5+
// IWYU pragma: friend cucumber_cpp/.*
6+
47
#include "cucumber_cpp/library/Errors.hpp"
58
#include <algorithm>
69
#include <any>

0 commit comments

Comments
 (0)