[PATCH] D95081: [clang-format] [NFC] Restructure getLineCommentIndentPrefix
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 20 14:36:30 PST 2021
curdeius added inline comments.
================
Comment at: clang/lib/Format/BreakableToken.cpp:44
const FormatStyle &Style) {
+ // Keep these prefixes sorted after length.
static constexpr StringRef KnownCStylePrefixes[] = {"///<", "//!<", "///",
----------------
I'd rather put asserts instead of this comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95081/new/
https://reviews.llvm.org/D95081
More information about the cfe-commits
mailing list