[PATCH] D99031: [clang-format] Fix CompactNamespaces corner case when AllowShortLambdasOnASingleLine/BraceWrapping.BeforeLambdaBody are set
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 22 00:10:06 PDT 2021
HazardyKnusperkeks added a comment.
In D99031#2640425 <https://reviews.llvm.org/D99031#2640425>, @aybassiouny wrote:
>> How about verifyFormat? Would that fail without your patch?
>
> @HazardyKnusperkeks sorry, but not sure that I understand your point. Are you suggesting to use verifyFormat in my UT instead of EXPECT_EQ?
I'm pretty sure @MyDeveloperDay would ask for that. I would maybe use both. But what it really interesting for me if verifyFormat would fail, i.e. would clang-format misformat something previously correctly formatted.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99031/new/
https://reviews.llvm.org/D99031
More information about the cfe-commits
mailing list