[Lldb-commits] [lldb] r296717 - Fix various warnings. NFC

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 2 07:18:47 PST 2017


What capture does it say is missing? Also what version of msvc?
On Thu, Mar 2, 2017 at 7:17 AM Zachary Turner <zturner at google.com> wrote:

> Clang-cl
> On Thu, Mar 2, 2017 at 2:51 AM Pavel Labath <labath at google.com> wrote:
>
>
> On 2 March 2017 at 00:05, Zachary Turner via lldb-commits <
> lldb-commits at lists.llvm.org> wrote:
>
> -    DumpValueObjectOptions::DeclPrintingHelper helper =
> -        [&valobj_sp, qualify_cxx_base_classes](
> -            ConstString type, ConstString var,
> -            const DumpValueObjectOptions &opts, Stream &stream) -> bool {
> +    DumpValueObjectOptions::DeclPrintingHelper helper = [&valobj_sp](
> +        ConstString type, ConstString var, const DumpValueObjectOptions
> &opts,
> +        Stream &stream) -> bool {
>        const ValueObject::GetExpressionPathFormat format = ValueObject::
>
>
> Hi Zach,
>
> what's the compiler that was giving you this warning. The version of MSVC
> I am using is complaining about a missing capture when you removed this.
>
> I've updated the code in a way which should make both compilers satisfied,
> but I'd like to know if we are using an unsupported version of MSVC or
> something.
>
> cheers,
> pl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170302/27bd1c1f/attachment.html>


More information about the lldb-commits mailing list