You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
lahwaacz
added a commit
to lahwaacz/p-clang-format
that referenced
this issue
Dec 27, 2021
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.The text was updated successfully, but these errors were encountered: