forked from OSchip/llvm-project
Fix MSVC build
MSVC (at least the version I am using) does not want to implicitly capture a const bool variable. Move it into the lambda, as it is not used outside anyway. llvm-svn: 296738
This commit is contained in:
parent
4c18c3743f
commit
5d1f711a55
|
@ -192,13 +192,13 @@ protected:
|
|||
return false;
|
||||
}
|
||||
|
||||
const bool qualify_cxx_base_classes = false;
|
||||
|
||||
DumpValueObjectOptions::DeclPrintingHelper helper = [&valobj_sp](
|
||||
ConstString type, ConstString var, const DumpValueObjectOptions &opts,
|
||||
Stream &stream) -> bool {
|
||||
const ValueObject::GetExpressionPathFormat format = ValueObject::
|
||||
GetExpressionPathFormat::eGetExpressionPathFormatHonorPointers;
|
||||
const bool qualify_cxx_base_classes = false;
|
||||
valobj_sp->GetExpressionPath(stream, qualify_cxx_base_classes, format);
|
||||
stream.PutCString(" =");
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue