posix.mak: Enforce whitespace before opening version parenthesis#6160
posix.mak: Enforce whitespace before opening version parenthesis#6160ibuclaw wants to merge 1 commit intodlang:masterfrom
Conversation
|
Thanks for your pull request, @ibuclaw! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
|
If this is being added to posix.max there should also be a line about it in https://github.com/dlang/dlang.org/blob/master/dstyle.dd. I recently checked it for guidance on |
| alias SQLWCHAR = ushort; | ||
|
|
||
| version( UNICODE ) | ||
| version ( UNICODE ) |
There was a problem hiding this comment.
Could we use this opportunity to normalize these too?
|
I'm all in favor of being consistent in the style, but may I ask why you picked this one? |
You mean |
No I meant why |
|
Ah, that would mean having its own regexp to catch that particular style. I could use the same argument against the following also: But to be really precise about this, we may need something smarter in order to lint, as you'd also want to catch e.g: |
|
Yeah, you want this to be a D-Scanner check, e.g. dlang-community/D-Scanner#450 However, I never managed to push these into D-Scanner (there were some controversies on how D-Scanner can access the tokens), but we now have a special branch |
|
(superseded by #6717) |
Get everyone using the same style.