Skip to content

Commit 466601f

Browse files
danbevtargos
authored andcommitted
src: remove .h if -inl.h is already included
This commit removes the normal header file include if an internal one is specified as per the CPP_STYLE_GUIDE. PR-URL: #21381 Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
1 parent a09bdb5 commit 466601f

File tree

6 files changed

+0
-10
lines changed

6 files changed

+0
-10
lines changed

src/bootstrapper.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "node.h"
2-
#include "env.h"
32
#include "env-inl.h"
43
#include "node_internals.h"
54
#include "v8.h"

src/callback_scope.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#include "node.h"
2-
#include "async_wrap.h"
32
#include "async_wrap-inl.h"
4-
#include "env.h"
53
#include "env-inl.h"
64
#include "v8.h"
75

src/exceptions.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#include "node.h"
22
#include "node_internals.h"
3-
#include "env.h"
43
#include "env-inl.h"
5-
#include "util.h"
64
#include "util-inl.h"
75
#include "v8.h"
86
#include "uv.h"

src/node_encoding.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#include "node.h"
2-
#include "env.h"
32
#include "env-inl.h"
43
#include "string_bytes.h"
5-
#include "util.h"
64
#include "util-inl.h"
75
#include "v8.h"
86

src/node_platform.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include "node_platform.h"
22
#include "node_internals.h"
33

4-
#include "env.h"
54
#include "env-inl.h"
65
#include "util.h"
76
#include <algorithm>

src/node_process.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#include "node.h"
22
#include "node_internals.h"
3-
#include "env.h"
43
#include "env-inl.h"
5-
#include "util.h"
64
#include "util-inl.h"
75
#include "uv.h"
86
#include "v8.h"

0 commit comments

Comments
 (0)