Skip to content

Conversation

gengjiawen
Copy link
Member

Fix clang-tidy issue, use same parameter name, see

TIME_TYPE* tm_struct) {

Also found that function declaration is located in .cc file. Any special reason for this file ?

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

@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Feb 11, 2019
@joyeecheung
Copy link
Member

Also found that function declaration is located in .cc file. Any special reason for this file ?

All the methods in node_report.cc are forward-declared so that the definitions can be placed arbitrarily, though that's not a style we normally use in this code base and more of the style of the original npm module.

@danbev
Copy link
Contributor

danbev commented Feb 14, 2019

@addaleax
Copy link
Member

Landed in 66942d7 :)

@addaleax addaleax closed this Feb 15, 2019
addaleax pushed a commit that referenced this pull request Feb 15, 2019
PR-URL: #26046
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
addaleax pushed a commit that referenced this pull request Feb 16, 2019
PR-URL: #26046
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@BridgeAR BridgeAR mentioned this pull request Feb 26, 2019
rvagg pushed a commit that referenced this pull request Feb 28, 2019
PR-URL: #26046
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
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++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants