[Development] clang-format config file.

Olivier Goffart olivier at woboq.com
Thu Jun 30 15:17:52 CEST 2016


On Donnerstag, 30. Juni 2016 14:26:34 CEST Lorenz Haas wrote:
> Hi,
> 
> > The style disabled any re-wraping of the comments, because the qdoc rules
> > are not encoded in clang-format. So comments will not be touched.
> 
> just for the record: clang-format can exclude specific comment types
> from re-wrapping. Thus if you/we do not mind a "either re-wrap all
> comments or leave them all as they are" rule, CommentPragmas could be
> used, e.g.:
> 
> CommentPragmas: '^!|^:|^=|^~'

Thanks for your suggestion. I updated the file.
(I used only ! and :, I don't know what = or ~ was refering to)

-- 
Olivier

Woboq - Qt services and support - https://woboq.com - https://code.woboq.org




More information about the Development mailing list