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
We currently exclude *in.h files but it looks like some of the suggested changes from clang-format are valid. We could check those files in more detail and apply relevant changes.
The text was updated successfully, but these errors were encountered:
I did some further investigation and found that we can selectively disable the formatting of #cmakeconfig lines in *.in.h files by modifying the source files like so:
// clang-format disable
#cmakeconfig whatever // CMake pragmas/directivesintsomeFcn(); // more C++ stuff (normal C++ lines of code) that we DON'T want to be autoformatted// clang-format enable doubleotherImportantFcn(); // more C++ stuff (normal C++ lines of code) that we want to autoformat as usual
Hence, we can simply delete the .clang-format-ignore file that was added today during the pair-programming session.
We currently exclude
*in.h
files but it looks like some of the suggested changes fromclang-format
are valid. We could check those files in more detail and apply relevant changes.The text was updated successfully, but these errors were encountered: