openfhe-development
openfhe-development copied to clipboard
Styling errors with cpplint
cpplint fails while running pre-commit after clang-format passes for styling issues such as "Should have a space between // and comment" errors. This could possibly be fixed using SpacesBeforeTrailingComments from https://clang.llvm.org/docs/ClangFormatStyleOptions.html automatically with clang-format instead of fixing them manually.
SpacesBeforeTrailingComments is not the correct option for this case. The correct option is SpacesInLineCommentPrefix. it is available for clang-13 or later versions.