Skip to content

Commit 0d54643

Browse files
committed
Using proper Objective-C types doesn't seem to
make the sky fall. llvm-svn: 117767
1 parent 7b27510 commit 0d54643

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntimeV2/AppleObjCRuntimeV2.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,6 @@ AppleObjCRuntimeV2::GetObjectDescription (Stream &str, Value &value, ExecutionCo
8787
str.Printf ("Value doesn't point to an ObjC object.\n");
8888
return false;
8989
}
90-
// FIXME: If we use the real types here then we end up crashing in the expression parser.
91-
// For now, forcing this to be a generic pointer makes it work...
92-
#if 1
93-
ClangASTContext *ast_context = exe_ctx.target->GetScratchClangASTContext();
94-
if (value.GetContextType() == Value::eContextTypeOpaqueClangQualType)
95-
{
96-
value.SetContext(Value::eContextTypeOpaqueClangQualType, ast_context->GetVoidPtrType(false));
97-
}
98-
#endif
9990
}
10091
else
10192
{

0 commit comments

Comments
 (0)