FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

src: remove .h if -inl.h is already included by danbev · Pull Request #21381 · nodejs/node · GitHub

/ node Public

src: remove .h if -inl.h is already included - #21381

Closed
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:remove-header-when-internal-is-used
Closed

src: remove .h if -inl.h is already included#21381
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:remove-header-when-internal-is-used

Conversation

danbev commented Jun 18, 2018

Copy link
Copy Markdown
Contributor

This commit removes the normal header file include if an internal one
is specified as per the CPP_STYLE_GUIDE.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

This commit removes the normal header file include if an internal one
is specified as per the CPP_STYLE_GUIDE.

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Jun 18, 2018

danbev commented Jun 18, 2018

Copy link
Copy Markdown
Contributor Author

BridgeAR added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Jun 18, 2018

danbev commented Jun 18, 2018

Copy link
Copy Markdown
Contributor Author
node-test-commit-windows-fanned failure looks unrelated

console output:

not ok 491 parallel/test-worker-memory
  ---
  duration_ms: 1.413
  severity: fail
  exitcode: 1
  stack: |-
    Mismatched <anonymous> function calls. Expected exactly 1, actual 0.
        at Object.exports.mustCall (c:\workspace\node-test-binary-windows\test\common\index.js:428:10)
        at run (c:\workspace\node-test-binary-windows\test\parallel\test-worker-memory.js:21:28)
        at Worker.worker.on.common.mustCall (c:\workspace\node-test-binary-windows\test\parallel\test-worker-memory.js:22:5)
        at Worker.<anonymous> (c:\workspace\node-test-binary-windows\test\common\index.js:468:15)
        at Worker.emit (events.js:182:13)
        at Worker.[kOnExit] (internal/worker.js:270:10)
        at Worker.(anonymous function).onexit (internal/worker.js:226:51)
  ...

bnoordhuis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Might be nice as an enhancement to have cpplint.py or check-imports.sh enforce this.

danbev commented Jun 19, 2018

Copy link
Copy Markdown
Contributor Author

Might be nice as an enhancement to have cpplint.py or check-imports.sh enforce this.

Yeah, I what would make sense. I'll take a look but might not have time this week by the looks of things.

Copy link
Copy Markdown
Contributor

@danbev if it's okay, I guess this could be landed and I could help out with the linting in a separate PR.

danbev commented Jun 19, 2018

Copy link
Copy Markdown
Contributor Author

if it's okay, I guess this could be landed and I could help out with the linting in a separate PR.

That would be great, thanks!

danbev commented Jun 20, 2018

Copy link
Copy Markdown
Contributor Author

Landed in a71d5fc.

danbev closed this Jun 20, 2018
danbev deleted the remove-header-when-internal-is-used branch June 20, 2018 03:48
danbev added a commit that referenced this pull request Jun 20, 2018
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>
targos added backport-requested-v10.x and removed author ready PRs that have at least one approval, no outstanding review comments, and a CI started. labels Jun 20, 2018

targos commented Jun 20, 2018
edited
Loading

Copy link
Copy Markdown
Member

Should land cleanly on v10.x-staging after #21105 is backported

targos pushed a commit that referenced this pull request Jul 14, 2018
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>
targos mentioned this pull request Jul 17, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.


Back | FazBrowse Home | New Git URL