[clang-format] Option for empty lines after an access modifier.
The current logic for access modifiers in classes ignores the option 'MaxEmptyLinesToKeep=1'. It is therefore impossible to have a coding style that requests one empty line after an access modifier. The patch allows the user to configure how many empty lines clang-format should add after an access modifier. This will remove lines if there are to many and will add them if there are missing. Reviewed By: MyDeveloperDay, curdeius Differential Revision: https://reviews.llvm.org/D98237
parent
915a7780
Please register or sign in to comment