[cfe-users] clang-format, Doxygen comments

Karl Napf karl.b.napf at googlemail.com
Sun Oct 5 13:26:41 PDT 2014


Hi, I would like to reformat an existing code base using clang-format
(according to the Google guidelines). As shown below, some Doxygen comments
are rather ugly afterwards. Any hints on how to avoid this? Is there
special support for Doxygen comments in clang-format? Thanky you very much
in advance for your help!


Before:

void fun(
  RAI last,
  /**< [IN] Random access iterator pointing to the last plus one element of
the
            input range */

After:

void fun(
    RAI last,
    /**< [IN] Random access iterator pointing to the last plus one element
of
       the
              input range */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20141005/76baba34/attachment.html>


More information about the cfe-users mailing list