Fixed a problem where m_register_info was not being
copied by the copy constructor for ClangExpressionVariable.
This meant that a NULL m_register_info wouldn't be
copied, and instead the field was uninitialized, potentially
confusing the materializer.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120472 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionVariable.cpp b/source/Expression/ClangExpressionVariable.cpp
index 6a78363..a85bc24 100644
--- a/source/Expression/ClangExpressionVariable.cpp
+++ b/source/Expression/ClangExpressionVariable.cpp
@@ -47,7 +47,8 @@
 ClangExpressionVariable::ClangExpressionVariable(const ClangExpressionVariable &rhs) :
     m_name(rhs.m_name),
     m_user_type(rhs.m_user_type),
-    m_store(rhs.m_store),
+    m_store(rhs.m_store),  
+    m_register_info(rhs.m_register_info),
     m_index(rhs.m_index)
 {
     if (rhs.m_parser_vars.get())