[PATCH] D138263: [clang-format] Supress aligning of trailing namespace comments
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 28 02:27:41 PDT 2023
owenpan accepted this revision.
owenpan added inline comments.
================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:2964-2965
if (FormatTok->is(tok::l_brace)) {
+ FormatToken *LBrace = FormatTok;
+ LBrace->setFinalizedType(TT_NamespaceLBrace);
+
----------------
Nit.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138263/new/
https://reviews.llvm.org/D138263
More information about the cfe-commits
mailing list