summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangUserExpression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/ClangUserExpression.cpp')
-rw-r--r--lldb/source/Expression/ClangUserExpression.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lldb/source/Expression/ClangUserExpression.cpp b/lldb/source/Expression/ClangUserExpression.cpp
index 7a2541d9173..664854f1fac 100644
--- a/lldb/source/Expression/ClangUserExpression.cpp
+++ b/lldb/source/Expression/ClangUserExpression.cpp
@@ -156,17 +156,6 @@ ClangUserExpression::ScanContext(ExecutionContext &exe_ctx, Error &err)
m_cplusplus = true;
m_needs_object_ptr = true;
-
- do {
- clang::QualType this_type = method_decl->getThisType(decl_context->getParentASTContext());
-
- const clang::PointerType *this_pointer_type = this_type->getAs<clang::PointerType>();
-
- if (!this_pointer_type)
- break;
-
- clang::QualType this_pointee_type = this_pointer_type->getPointeeType();
- } while (0);
}
}
else if (clang::ObjCMethodDecl *method_decl = llvm::dyn_cast<clang::ObjCMethodDecl>(decl_context))
OpenPOWER on IntegriCloud