diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 3d5b02400e2f..e4151bd18ee6 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -3016,7 +3016,7 @@ ClangExpressionDeclMap::AddOneType(NameSearchContext &context, const bool is_static = false; const bool is_inline = false; const bool is_explicit = false; - const bool is_attr_used = false; + const bool is_attr_used = true; const bool is_artificial = false; ClangASTContext::AddMethodToCXXRecordType (parser_ast_context, diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index bf9c3646c285..ec997134f608 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -3059,6 +3059,7 @@ ClangASTContext::GetNumPointeeChildren (clang_type_t clang_type) case clang::BuiltinType::BoundMember: case clang::BuiltinType::Half: case clang::BuiltinType::ARCUnbridgedCast: + case clang::BuiltinType::PseudoObject: return 1; } break; @@ -4898,6 +4899,7 @@ ClangASTContext::IsPossibleDynamicType (clang::ASTContext *ast, clang_type_t cla case clang::BuiltinType::BoundMember: case clang::BuiltinType::Half: case clang::BuiltinType::ARCUnbridgedCast: + case clang::BuiltinType::PseudoObject: break; } break; @@ -5033,6 +5035,7 @@ ClangASTContext::IsPossibleCPlusPlusDynamicType (clang::ASTContext *ast, clang_t case clang::BuiltinType::BoundMember: case clang::BuiltinType::Half: case clang::BuiltinType::ARCUnbridgedCast: + case clang::BuiltinType::PseudoObject: break; } break; diff --git a/lldb/source/Symbol/ClangASTType.cpp b/lldb/source/Symbol/ClangASTType.cpp index 7e98f793c48d..04edef1484fb 100644 --- a/lldb/source/Symbol/ClangASTType.cpp +++ b/lldb/source/Symbol/ClangASTType.cpp @@ -572,6 +572,7 @@ ClangASTType::GetFormat (clang_type_t clang_type) case clang::BuiltinType::ObjCSel: case clang::BuiltinType::Half: case clang::BuiltinType::ARCUnbridgedCast: + case clang::BuiltinType::PseudoObject: return lldb::eFormatHex; } break;