mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
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:
@@ -47,6 +47,7 @@ ValueObjectConstResult::ValueObjectConstResult
|
||||
m_value.SetContext(Value::eContextTypeOpaqueClangQualType, clang_type);
|
||||
m_name = name;
|
||||
SetIsConstant ();
|
||||
SetValueIsValid(true);
|
||||
}
|
||||
|
||||
ValueObjectConstResult::ValueObjectConstResult (const Error& error) :
|
||||
|
||||
Reference in New Issue
Block a user