-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
src: include what we use in node_sqlite #59854
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
Conversation
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #59854 +/- ##
==========================================
- Coverage 88.27% 88.25% -0.02%
==========================================
Files 702 702
Lines 206706 206706
Branches 39757 39760 +3
==========================================
- Hits 182469 182433 -36
- Misses 16231 16282 +51
+ Partials 8006 7991 -15
🚀 New features to boost your workflow:
|
|
The principle is solid, but something like this needs to be enforced on CI, otherwise there is little chance that over time it will stay correct. |
|
I agree, but we can only enforce it in CI after having fixed the code, and it doesn't hurt to make the changes, even if it drifts a bit over time. |
|
I just checked and the |
I played around with IWYU a few years ago when it was still in an experimental state and ran into some issues across different operating systems, but maybe that's been resolved. I assumed at the time that the analysis was inconsistent across platforms because some operating systems distribute headers that act as proxies to internal header files, which technically is spec-compliant in most cases, but makes automated dependency analysis rather complex. |
|
Doesn't seem to interest reviewers |
I'm playing with https://include-what-you-use.org/
With the changes here, it still suggests me to do the following, but it doesn't seem right to me (and to the C++ linter):
/cc @nodejs/cpp-reviewers