diff options
author | emaste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 |
commit | c727fe695d28799acb499e9961f11ec07d4f9fe2 (patch) | |
tree | 56d79f94966870db1cecd65a7264510a25fd1cba /source/Core/ValueObjectVariable.cpp | |
parent | 2e8c9206a971efee1b77ad2ae852265d6f4ecaa0 (diff) | |
download | FreeBSD-src-c727fe695d28799acb499e9961f11ec07d4f9fe2.zip FreeBSD-src-c727fe695d28799acb499e9961f11ec07d4f9fe2.tar.gz |
Import lldb as of SVN r194122
Sponsored by: DARPA, AFRL
Diffstat (limited to 'source/Core/ValueObjectVariable.cpp')
-rw-r--r-- | source/Core/ValueObjectVariable.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Core/ValueObjectVariable.cpp b/source/Core/ValueObjectVariable.cpp index 38c0d91..3d8b07a 100644 --- a/source/Core/ValueObjectVariable.cpp +++ b/source/Core/ValueObjectVariable.cpp @@ -156,6 +156,10 @@ ValueObjectVariable::UpdateValue () { m_resolved_value = m_value; m_value.SetContext(Value::eContextTypeVariable, variable); + + ClangASTType clang_type = GetClangType(); + if (clang_type.IsValid()) + m_value.SetClangType(clang_type); Value::ValueType value_type = m_value.GetValueType(); |