Skip to content

findrefs: refactor ::PrintRefs template strings#178

Merged
joyeecheung merged 2 commits into
nodejs:masterfrom
mmarchini:findrefs-refactor-output
Mar 29, 2018
Merged

findrefs: refactor ::PrintRefs template strings#178
joyeecheung merged 2 commits into
nodejs:masterfrom
mmarchini:findrefs-refactor-output

Conversation

@mmarchini

Copy link
Copy Markdown
Contributor

I noticed that we have only a few template strings used in all PrintRefs, and they were repeating multiple times in the code.

joyeecheung

This comment was marked as off-topic.

@bnoordhuis

Copy link
Copy Markdown
Member

(whispers) static const char *const or static const char[]

@mmarchini

Copy link
Copy Markdown
Contributor Author

Done!

Oh, I got some unrelated changes from make format. Should I keep them?

joyeecheung

This comment was marked as off-topic.

@joyeecheung

Copy link
Copy Markdown
Member

@mmarchini Which version of clang-format are you using?

@mmarchini

Copy link
Copy Markdown
Contributor Author
$ clang-format --version
clang-format version 5.0.1 (tags/RELEASE_501/final)
@joyeecheung joyeecheung merged commit a36f799 into nodejs:master Mar 29, 2018
@joyeecheung joyeecheung mentioned this pull request Mar 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants