Mark a ValueObjectConstResult as valid if it is created with some data, don't wait till it gets updated.

llvm-svn: 116633
This commit is contained in:
Jim Ingham 2010-10-15 22:47:36 +00:00
parent ef47b66d52
commit e2f8841d34
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ ValueObjectConstResult::ValueObjectConstResult
m_value.SetContext(Value::eContextTypeOpaqueClangQualType, clang_type);
m_name = name;
SetIsConstant ();
SetValueIsValid(true);
}
ValueObjectConstResult::ValueObjectConstResult (const Error& error) :