mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
<rdar://problem/10434005>
Prepare LLDB to be built with C++11 by hiding all accesses to std::tr1 behind macros that allows us to easily compile for either C++. llvm-svn: 152698
This commit is contained in:
@@ -442,7 +442,7 @@ SBValue::GetTypeFilter ()
|
||||
|
||||
if (synthetic_sp && !synthetic_sp->IsScripted())
|
||||
{
|
||||
TypeFilterImplSP filter_sp = std::tr1::static_pointer_cast<TypeFilterImpl>(synthetic_sp);
|
||||
TypeFilterImplSP filter_sp = STD_STATIC_POINTER_CAST(TypeFilterImpl,synthetic_sp);
|
||||
filter.SetSP(filter_sp);
|
||||
}
|
||||
}
|
||||
@@ -469,7 +469,7 @@ SBValue::GetTypeSynthetic ()
|
||||
|
||||
if (children_sp && children_sp->IsScripted())
|
||||
{
|
||||
TypeSyntheticImplSP synth_sp = std::tr1::static_pointer_cast<TypeSyntheticImpl>(children_sp);
|
||||
TypeSyntheticImplSP synth_sp = STD_STATIC_POINTER_CAST(TypeSyntheticImpl,children_sp);
|
||||
synthetic.SetSP(synth_sp);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user