[PATCH] D150629: [clang-format] Don't allow template to be preceded by closing brace
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 16 12:08:43 PDT 2023
HazardyKnusperkeks added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:10682
verifyFormat("a < 0 ? b : a > 0 ? c : d;");
+ verifyFormat("ratio{-1, 2} < ratio{-1, 3} == -1 / 3 > -1 / 2;");
verifyFormat("void f() {\n"
----------------
owenpan wrote:
> Do we need to add a token annotator test?
> Do we need to add a token annotator test?
I'm in favor of one.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150629/new/
https://reviews.llvm.org/D150629
More information about the cfe-commits
mailing list