This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 07/22] Remove last cleanups from solib-svr4.c


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> When passing lambdas as last argument to a function, I think indenting
Pedro> like this reads clearer:

Pedro>   auto cleanup = make_scope_exit ([&] ()
Pedro>     {
Pedro>       svr4_free_library_list (&list->head);
Pedro>     });

I agree.  I made this change here & in another patch in the series.

Pedro> If others agree, I'd vote for having a similar rule of our own.

Let's do it.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]