Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only usable with -i, no stdout handling #1

Open
lahwaacz opened this issue Dec 27, 2021 · 0 comments · May be fixed by #2
Open

Only usable with -i, no stdout handling #1

lahwaacz opened this issue Dec 27, 2021 · 0 comments · May be fixed by #2

Comments

@lahwaacz
Copy link

The wrapper only works when the user passes -i to clang-format to do in-place formatting. Otherwise, clang-format takes the file (where p-clang-format commented out the pragmas) and prints the formatted source to stdout. Then, p-clang-format changes the file (unmodified by clang-format) to its original state and pragmas stay commented out in the stdout.

lahwaacz added a commit to lahwaacz/p-clang-format that referenced this issue Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant