diff --git a/plugins/clang/duchain/builder.cpp b/plugins/clang/duchain/builder.cpp --- a/plugins/clang/duchain/builder.cpp +++ b/plugins/clang/duchain/builder.cpp @@ -949,7 +949,7 @@ { if (setComment) #if CINDEX_VERSION_MINOR < 100 // FIXME https://bugs.llvm.org/show_bug.cgi?id=35333 - decl->setComment(QByteArray(clang_getCString(clang_Cursor_getRawCommentText(cursor)))); + decl->setComment(KDevelop::formatComment(QByteArray(clang_getCString(clang_Cursor_getRawCommentText(cursor))))); #else decl->setComment(makeComment(clang_Cursor_getParsedComment(cursor))); #endif