[PATCH] D143546: [clang-format] Insert a space between a numeric UDL and a dot
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 8 12:08:42 PST 2023
HazardyKnusperkeks accepted this revision.
HazardyKnusperkeks added inline comments.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3884
if (Style.isCpp()) {
+ if (Right.is(tok::period) && Left.is(tok::numeric_constant))
+ return true;
----------------
Add a comment what that is? Without the bug report I'd not know what that sequence would be.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143546/new/
https://reviews.llvm.org/D143546
More information about the cfe-commits
mailing list