Closed
Bug 1385152
Opened 7 years ago
Closed 7 years ago
clang-format isn't catching * placement rules
Categories
(NSS :: Build, enhancement)
NSS
Build
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: mt, Unassigned)
Details
It's either the version of clang-format we use or the clang-format rules, but these don't detect and fix * placement problems. That is, static SECStatus ssl_SomeFunction(sslSocket *ss) is the right placement for C code and bool SomeFunction(PRFileDesc* fd) is the right placement for code in the gtests (we use Google style there). We should tweak the clang-format rules so that this gets fixed. If that means bumping the version, that's a bigger project, but still worth doing (we don't want to be stuck on 3.9 forever).
Reporter | ||
Comment 1•7 years ago
|
||
Seems like the google style includes this and this isn't an issue.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•