Closed
Bug 1509025
Opened 7 years ago
Closed 7 years ago
js/src/jsapi-tests should not be excluded from clang-format
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla65
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-esr60+
|
Details | Review |
See https://searchfox.org/mozilla-central/rev/55895c49f55073d82d977cb74ec1d3a71ae4b25f/.clang-format-ignore#16
The C++ files here (at least most of them) are not generated code.
Assignee | ||
Comment 1•7 years ago
|
||
(In reply to Jan de Mooij [:jandem] from comment #0)
> See https://searchfox.org/mozilla-central/rev/0
Hm I can't add #16 at the end of this or we get garbage in Bugzilla:
https://searchfox.org/mozilla-central/rev/55895c49f55073d82d977cb74ec1d3a71ae4b25f/.clang-format-ignore
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Result is here, overall looks reasonable:
https://hg.mozilla.org/try/rev/45559de125df7813e42edf3e1e58964265f7deb0
It's nice that it reformats a monster like this:
https://searchfox.org/mozilla-central/rev/8f89901f2d69d9783f946a7458a6d7ee70635a94/js/src/jsapi-tests/testXDR.cpp#113
As:
https://hg.mozilla.org/try/rev/45559de125df7813e42edf3e1e58964265f7deb0#l122.138
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d83d28c9ae5
Remove js/src/jsapi-tests from .clang-format-ignore. r=sylvestre,tcampbell
Comment 5•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Comment 6•7 years ago
|
||
Comment on attachment 9026897 [details]
Bug 1509025 - Remove js/src/jsapi-tests from .clang-format-ignore. r?sylvestre!,tcampbell!
[ESR Uplift Approval Request]
If this is not a sec:{high,crit} bug, please state case for ESR consideration: This is required for easier backporting of patches after the reformatting of ESR using clang-format.
User impact if declined: Declining this will negatively impact our developers' ability to easily backport their patches to ESR in the future.
Fix Landed on Version: 65
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): This is NPOTB.
String or UUID changes made by this patch: None
Attachment #9026897 -
Flags: approval-mozilla-esr60?
Updated•7 years ago
|
status-firefox-esr60:
--- → affected
Comment 7•7 years ago
|
||
Comment on attachment 9026897 [details]
Bug 1509025 - Remove js/src/jsapi-tests from .clang-format-ignore. r?sylvestre!,tcampbell!
OK for uplift to ESR60 as part of the clang-format project.
Attachment #9026897 -
Flags: approval-mozilla-esr60? → approval-mozilla-esr60+
Comment 8•7 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•