Author: dvlahovski Date: Tue Sep 6 07:48:10 2016 New Revision: 280707 URL: http://llvm.org/viewvc/llvm-project?rev=280707&view=rev Log: Fixing an MSVC error from rL280692
MSVC emits an error when one uses a const variable in a lambda without capturing it. gcc and clang don't emit an error in this scenario. Modified: lldb/trunk/source/Commands/CommandObjectFrame.cpp Modified: lldb/trunk/source/Commands/CommandObjectFrame.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectFrame.cpp?rev=280707&r1=280706&r2=280707&view=diff ============================================================================== --- lldb/trunk/source/Commands/CommandObjectFrame.cpp (original) +++ lldb/trunk/source/Commands/CommandObjectFrame.cpp Tue Sep 6 07:48:10 2016 @@ -218,7 +218,7 @@ protected: const bool qualify_cxx_base_classes = false; - DumpValueObjectOptions::DeclPrintingHelper helper = [&valobj_sp](ConstString type, + DumpValueObjectOptions::DeclPrintingHelper helper = [&valobj_sp, qualify_cxx_base_classes](ConstString type, ConstString var, const DumpValueObjectOptions &opts, Stream &stream) -> bool { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits