[PATCH] D118921: [Format] Don't derive pointers right based on space before method ref-qualifiers
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 4 03:16:23 PST 2022
sammccall marked an inline comment as done.
sammccall added a comment.
Thanks!
================
Comment at: clang/unittests/Format/FormatTest.cpp:9689-9692
+ // There's always a space between the function and its trailing qualifiers.
+ // This isn't evidence for PAS_Right (or for PAS_Left).
+ std::string Prefix = "void a() &;\n"
+ "void b() &;\n";
----------------
benhamilton wrote:
> Worth a test with `&&`?
>
Good idea, merged it with the overloaded-operator test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118921/new/
https://reviews.llvm.org/D118921
More information about the cfe-commits
mailing list