[clang] [clang-format] Handle merging functions containing only a block comment (PR #74651)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 6 13:27:32 PST 2023
================
@@ -411,9 +411,16 @@ class LineJoiner {
}
}
+ const auto *LastNonComment = TheLine->getLastNonComment();
+ assert(LastNonComment);
+ // FIXME: There are probably cases where we should use LastNonComment
----------------
HazardyKnusperkeks wrote:
Is this a left over?
https://github.com/llvm/llvm-project/pull/74651
More information about the cfe-commits
mailing list