Fix resolution conflict between global and class static variables in C++
llvm-svn: 245381
diff --git a/lldb/source/Symbol/Variable.cpp b/lldb/source/Symbol/Variable.cpp
index c2772cd..88a6cd5 100644
--- a/lldb/source/Symbol/Variable.cpp
+++ b/lldb/source/Symbol/Variable.cpp
@@ -44,7 +44,8 @@
Declaration* decl_ptr,
const DWARFExpression& location,
bool external,
- bool artificial
+ bool artificial,
+ bool static_member
) :
UserID(uid),
m_name(name),
@@ -55,7 +56,8 @@
m_declaration(decl_ptr),
m_location(location),
m_external(external),
- m_artificial(artificial)
+ m_artificial(artificial),
+ m_static_member(static_member)
{
}