[PATCH] D140339: [clang-format] Remove special logic for parsing concept definitions.
Emilia Dreamer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 19 14:10:35 PST 2022
rymiel marked an inline comment as done.
rymiel added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:23940
// assert.
- verifyFormat("template <typename T>\n"
- "concept C = requires C2<T>;");
-
- verifyFormat("template <typename T>\n"
- "concept C = 5 + 4;");
-
verifyFormat("template <typename T>\n"
"concept C =\n"
----------------
HazardyKnusperkeks wrote:
> As I have learned in other changes, we have `verifyNoCrash` (or similar), this is what should be used. Didn't know about it back then.
Thank you, now I know as well
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140339/new/
https://reviews.llvm.org/D140339
More information about the cfe-commits
mailing list