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

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 2 02:50:43 PST 2017


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/5cb31edd/attachment-0001.html>


More information about the lldb-commits mailing list