[PATCH] D135871: [clang-format][NFC] Handle language specific stuff at the top...
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 16 01:24:46 PDT 2022
owenpan accepted this revision.
owenpan added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3121
+ return 1;
+ if (Right.is(tok::period))
+ return 500;
----------------
HazardyKnusperkeks wrote:
> owenpan wrote:
> > Otherwise, it wouldn't be NFC.
> It was Left == :: || Right == .
It's NFC because we are still checking Right.is... below.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135871/new/
https://reviews.llvm.org/D135871
More information about the cfe-commits
mailing list