Fixed LLDB's handling of ElaboratedTypes, which was
causing problems with printing the values of persistent
variables with struct types.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137392 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp
index f37eb2a..71b0b9f 100644
--- a/source/Expression/ClangExpressionDeclMap.cpp
+++ b/source/Expression/ClangExpressionDeclMap.cpp
@@ -2012,13 +2012,8 @@
     {
         ExternalASTSource *external_source = original_ctx->getExternalSource();
         
-        if (!external_source)
-            return ELR_Failure;
-        
-        if (!original_tag_decl)
-            return ELR_Failure;
-        
-        external_source->CompleteType (original_tag_decl);
+        if (external_source)
+            external_source->CompleteType (original_tag_decl);
     }
     
     DeclContext *original_decl_context = dyn_cast<DeclContext>(original_decl);