Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 36.4k
src: cleanup unused headers#30328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
src: cleanup unused headers #30328
Changes from all commits
01d3211a33c48d4200839f28b8c477d07ce240ba7dd7f2f40db5d6f1File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| #include "node.h" | ||
| #include "env-inl.h" | ||
| #include "string_bytes.h" | ||
| #include "util-inl.h" | ||
| #include "v8.h" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,4 @@ | ||
| #include "node.h" | ||
| #include "node_internals.h" | ||
| #include "util-inl.h" | ||
| #include <csignal> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -27,7 +27,6 @@ | ||
| #include "util-inl.h" | ||
| #include "v8.h" | ||
| #include "v8-profiler.h" | ||
| using v8::Context; | ||
| using v8::DontDelete; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| #include "debug_utils.h" | ||
| #include "env-inl.h" | ||
| #include "util-inl.h" | ||
| #ifdef __POSIX__ | ||
| #if defined(__linux__) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -23,7 +23,6 @@ | ||
| #include "async_wrap-inl.h" | ||
| #include "env-inl.h" | ||
| #include "util-inl.h" | ||
| #include "node.h" | ||
| namespace node { | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -5,7 +5,6 @@ | ||
| #include "async_wrap.h" | ||
| #include "stream_base.h" | ||
| #include "v8.h" | ||
| namespace node { | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -26,7 +26,6 @@ | ||
| #include "stream_base.h" | ||
| #include "handle_wrap.h" | ||
| #include "string_bytes.h" | ||
| #include "v8.h" | ||
| namespace node { | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -27,7 +27,7 @@ | ||
| // Decodes a v8::Local<v8::String> or Buffer to a raw char* | ||
| #include "v8.h" | ||
| #include "env.h" | ||
| #include "env-inl.h" | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you explain why this is necessary? If an inline function here uses an inline function from ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The more I think of it, it's probably not necessary and an over reaction on my side to this CI error on osx https://ci.nodejs.org/job/node-test-commit-osx/29819/nodes=osx1011/console Why would only that build fail for that particular reason still leaves me puzzled Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah… I don’t know either, but I think it makes sense to move | ||
| namespace node { | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
base_object-inl.his guaranteed to have a forward declaration of this because it uses it as a return type… however, it’s not great thatbase_object-inl.his included here rather thanbase_object.h. Can we replace it with the latter?