Page MenuHomePhabricator

clang-format: Fix error return when using inplace with stdin
Needs RevisionPublic

Authored by woodruffw on Jun 23 2019, 6:47 PM.


Group Reviewers
Restricted Project

Causes clang-format to exit with an appropriate error code
when the invalid combination of -i and stdin is provided.

Diff Detail

Event Timeline

woodruffw created this revision.Jun 23 2019, 6:47 PM

Can you add a lit test for this?

Yep, I'll add one in a bit.

MyDeveloperDay added a project: Restricted Project.Oct 11 2019, 2:38 AM
thakis requested changes to this revision.Sep 14 2020, 1:08 PM

(marking this "request changes" to get it off my dashboard. please ping if you do add a test :) )

This revision now requires changes to proceed.Sep 14 2020, 1:08 PM