File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
#include < capnp/schema.h>
9
9
#include < cassert>
10
- #include < cstddef >
10
+ #include < cstdlib >
11
11
#include < cstring>
12
12
#include < functional>
13
13
#include < kj/string-tree.h>
14
14
#include < mutex>
15
15
#include < string>
16
16
#include < tuple>
17
+ #include < typeinfo>
17
18
#include < type_traits>
18
19
#include < utility>
19
20
#include < variant>
Original file line number Diff line number Diff line change @@ -238,8 +238,11 @@ static void Generate(kj::StringPtr src_prefix,
238
238
cpp_types << " // Generated by " PROXY_BIN " from " << src_file << " \n\n " ;
239
239
cpp_types << " // IWYU pragma: no_include \" mp/proxy.h\"\n " ;
240
240
cpp_types << " // IWYU pragma: no_include \" mp/proxy-io.h\"\n " ;
241
+ cpp_types << " #include <" << include_path << " .h> // IWYU pragma: keep\n " ;
241
242
cpp_types << " #include <" << include_path << " .proxy.h>\n " ;
242
243
cpp_types << " #include <" << include_path << " .proxy-types.h> // IWYU pragma: keep\n " ;
244
+ cpp_types << " #include <kj/common.h>\n " ;
245
+ cpp_types << " #include <mp/util.h>\n " ;
243
246
cpp_types << " #include <" << PROXY_TYPES << " >\n\n " ;
244
247
cpp_types << " namespace mp {\n " ;
245
248
Original file line number Diff line number Diff line change 12
12
13
13
#include < atomic>
14
14
#include < capnp/capability.h>
15
+ #include < capnp/common.h> // IWYU pragma: keep
15
16
#include < capnp/rpc.h>
16
17
#include < condition_variable>
17
18
#include < functional>
Original file line number Diff line number Diff line change 2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
- #include < mp/config.h>
5
+ #include < mp/config.h> // IWYU pragma: keep
6
6
#include < mp/util.h>
7
7
8
8
#include < cerrno>
9
9
#include < cstdio>
10
10
#include < kj/common.h>
11
11
#include < kj/string-tree.h>
12
- #include < pthread.h>
12
+ #include < pthread.h> // IWYU pragma: keep
13
13
#include < sstream>
14
14
#include < string>
15
15
#include < sys/resource.h>
You can’t perform that action at this time.
0 commit comments