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

src: use same parameter name in node_report.cc by gengjiawen · Pull Request #26046 · nodejs/node · GitHub

/ node Public

src: use same parameter name in node_report.cc - #26046

Closed
gengjiawen wants to merge 1 commit into
nodejs:masterfrom
gengjiawen:clang-tidy/function-align
Closed

src: use same parameter name in node_report.cc#26046
gengjiawen wants to merge 1 commit into
nodejs:masterfrom
gengjiawen:clang-tidy/function-align

Conversation

Copy link
Copy Markdown
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 added the c++ Issues and PRs that require attention from people who are familiar with C++. label Feb 11, 2019

Copy link
Copy Markdown
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 commented Feb 14, 2019

Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Member

Landed in 66942d7 :)

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 <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
addaleax pushed a commit that referenced this pull request Feb 16, 2019
PR-URL: #26046
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
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 <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
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++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL