[PATCH] D79354: [clang-format] [PR34574] Handle [[nodiscard]] attribute in class declaration
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 5 12:58:29 PDT 2020
MyDeveloperDay added a comment.
In D79354#2020722 <https://reviews.llvm.org/D79354#2020722>, @krasimir wrote:
> I have an example where this goes wrong in ObjC (modulo indentation):
>
> I think we should try harder to detect the beginning of an attribute specifier. I think there may be a helper for that somewhere in clang-format.
could you give me your .clang-format settings standard LLVM gives me
struct Stuff stuff[] = {{key, value}, // comment
{key, value}, // comment
{key, value}, // comment
{key, value}, {key, value}, {nil, 0}};
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79354/new/
https://reviews.llvm.org/D79354
More information about the cfe-commits
mailing list