Clang-cl<br><div class="gmail_quote"><div dir="ltr">On Thu, Mar 2, 2017 at 2:51 AM Pavel Labath <<a href="mailto:labath@google.com">labath@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On 2 March 2017 at 00:05, Zachary Turner via lldb-commits <span dir="ltr" class="gmail_msg"><<a href="mailto:lldb-commits@lists.llvm.org" class="gmail_msg" target="_blank">lldb-commits@lists.llvm.org</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id="m_-1605031918601429405:1if" class="m_-1605031918601429405a3s m_-1605031918601429405aXjCH m_-1605031918601429405m15a8c60bdf1d4df7 gmail_msg">- DumpValueObjectOptions::DeclPrintingHelper helper =<br class="gmail_msg">
- [&valobj_sp, qualify_cxx_base_classes](<br class="gmail_msg">
- ConstString type, ConstString var,<br class="gmail_msg">
- const DumpValueObjectOptions &opts, Stream &stream) -> bool {<br class="gmail_msg">
+ DumpValueObjectOptions::DeclPrintingHelper helper = [&valobj_sp](<br class="gmail_msg">
+ ConstString type, ConstString var, const DumpValueObjectOptions &opts,<br class="gmail_msg">
+ Stream &stream) -> bool {<br class="gmail_msg">
const ValueObject::GetExpressionPathFormat format = ValueObject::</div></blockquote></div><br class="gmail_msg"></div></div><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg">Hi Zach,</div><div class="gmail_extra gmail_msg"><br class="gmail_msg"></div><div class="gmail_extra gmail_msg">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.</div><div class="gmail_extra gmail_msg"><br class="gmail_msg"></div><div class="gmail_extra gmail_msg">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.</div><div class="gmail_extra gmail_msg"><br class="gmail_msg"></div><div class="gmail_extra gmail_msg">cheers,</div><div class="gmail_extra gmail_msg">pl</div><div class="gmail_extra gmail_msg"><br class="gmail_msg"></div></div>
</blockquote></div>