summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBValue.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-03-14 03:07:05 +0000
committerGreg Clayton <gclayton@apple.com>2012-03-14 03:07:05 +0000
commitd64afba584c9622f777f1b9910007b28e6c04da6 (patch)
treefd77bb4902db63051a1ebc04500f5b191fe05785 /lldb/source/API/SBValue.cpp
parenta9916d0296fc74bb40aa2e02a1f42bdf4b4239a4 (diff)
downloadbcm5719-llvm-d64afba584c9622f777f1b9910007b28e6c04da6.tar.gz
bcm5719-llvm-d64afba584c9622f777f1b9910007b28e6c04da6.zip
<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
Diffstat (limited to 'lldb/source/API/SBValue.cpp')
-rw-r--r--lldb/source/API/SBValue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBValue.cpp b/lldb/source/API/SBValue.cpp
index fa2fa778fe3..c3d966ff07e 100644
--- a/lldb/source/API/SBValue.cpp
+++ b/lldb/source/API/SBValue.cpp
@@ -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);
}
}
OpenPOWER on IntegriCloud