Closed Bug 1508635 Opened 9 months ago Closed 9 months ago

mach clang-format should be able to print the back the file that has been reformatted

Categories

(Firefox Build System :: Lint and Formatting, enhancement)

enhancement
Not set

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: andi, Assigned: andi)

References

Details

Attachments

(1 file)

Since we want to integrate bug 1507711 we need to have a way on outputting from 'mach clang-format' only the file that has been reformatted. 
The scope of this bug is to add a new parameter to 'mach clang-format', '--raw-output' that is used per a single file basis and pushes back to 'stdout' the contents of the formatted file.
Depends on: 1509276
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fd219dda36e8
mach clang-format should be able to print back the file that has been reformatted to stdin, suitable when it ise used with 3rd party tools for merging. r=sylvestre
https://hg.mozilla.org/mozilla-central/rev/fd219dda36e8
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.