Skip to content

Commit

Permalink
Exclude doc blocks with problematic Doxygen commands from autowrapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Oct 6, 2022
1 parent eae4af0 commit ab361b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
# Doc block @ref and @section commands often cause Doxygen parsing bugs if
# wrapped on multiple lines. If a comment contains them, it's not formatted in
# any way.
CommentPragmas: '(^ IWYU pragma:|@ref|@section)'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
Expand Down

0 comments on commit ab361b9

Please sign in to comment.