This patch is to support `spacesBeforeTrailingComments``` to support spaces before Trailing BlockComments. According to the Documentation, this was not implemented because block comments have different usage patterns and a various number of special cases. I am trying to cover as many cases as possible which can be useful.
This patch covers some cases such as Declarations, definitions, and Includes
This is also under the Project of Adding NetBSD-KNF support to clang-format.
Example for supported cases:
Int a; \*foo *\ int b; \*bar *\ Int c; \*baz *\ #include ads.h \*foo *\ #include bar.h \*bar *\
These following tests fail for this patch:
I have to discuss whether to add support to those cases because I think the tests need to be modified while implementing this style.
I would like to discuss more one this specific style to know which cases I could work on, as it was chosen not to support.
It will be good if I can get more inputs on the cases I could cover.