diff options
author | Enrico Granata <egranata@apple.com> | 2014-10-21 20:52:14 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-10-21 20:52:14 +0000 |
commit | 622be238eb847fbb15b320028263668d17d7e21f (patch) | |
tree | aeae21a749b75277b35b4a54c6b7a9c4a076b8a8 /lldb/source/Target/StackFrame.cpp | |
parent | a61262f989d802b3a38e965a50159274a6d154fa (diff) | |
download | bcm5719-llvm-622be238eb847fbb15b320028263668d17d7e21f.tar.gz bcm5719-llvm-622be238eb847fbb15b320028263668d17d7e21f.zip |
Expose the type-info flags at the public API layer. These flags provide much more informational content to consumers of the LLDB API than the existing TypeClass. Part of the fix for rdar://18517593
llvm-svn: 220322
Diffstat (limited to 'lldb/source/Target/StackFrame.cpp')
-rw-r--r-- | lldb/source/Target/StackFrame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/StackFrame.cpp b/lldb/source/Target/StackFrame.cpp index 1197586f665..760d3b2f1d6 100644 --- a/lldb/source/Target/StackFrame.cpp +++ b/lldb/source/Target/StackFrame.cpp @@ -691,8 +691,8 @@ StackFrame::GetValueForVariableExpressionPath (const char *var_expr_cstr, // Make sure we aren't trying to deref an objective // C ivar if this is not allowed const uint32_t pointer_type_flags = valobj_sp->GetClangType().GetTypeInfo (NULL); - if ((pointer_type_flags & ClangASTType::eTypeIsObjC) && - (pointer_type_flags & ClangASTType::eTypeIsPointer)) + if ((pointer_type_flags & eTypeIsObjC) && + (pointer_type_flags & eTypeIsPointer)) { // This was an objective C object pointer and // it was requested we skip any fragile ivars |