[PATCH] D150629: [clang-format] Don't allow template to be preceded by closing brace
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 15 18:51:43 PDT 2023
owenpan 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"
----------------
Do we need to add a token annotator test?
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