mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
Rename clang_type -> compiler_type for variables.
Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13102 llvm-svn: 248461
This commit is contained in:
@@ -168,15 +168,15 @@ ValueObjectVariable::UpdateValue ()
|
||||
m_resolved_value = m_value;
|
||||
m_value.SetContext(Value::eContextTypeVariable, variable);
|
||||
|
||||
CompilerType clang_type = GetCompilerType();
|
||||
if (clang_type.IsValid())
|
||||
m_value.SetCompilerType(clang_type);
|
||||
CompilerType compiler_type = GetCompilerType();
|
||||
if (compiler_type.IsValid())
|
||||
m_value.SetCompilerType(compiler_type);
|
||||
|
||||
Value::ValueType value_type = m_value.GetValueType();
|
||||
|
||||
Process *process = exe_ctx.GetProcessPtr();
|
||||
const bool process_is_alive = process && process->IsAlive();
|
||||
const uint32_t type_info = clang_type.GetTypeInfo();
|
||||
const uint32_t type_info = compiler_type.GetTypeInfo();
|
||||
const bool is_pointer_or_ref = (type_info & (lldb::eTypeIsPointer | lldb::eTypeIsReference)) != 0;
|
||||
|
||||
switch (value_type)
|
||||
|
||||
Reference in New Issue
Block a user