diff options
Diffstat (limited to 'lldb/source/DataFormatters/NSDictionary.cpp')
-rw-r--r-- | lldb/source/DataFormatters/NSDictionary.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/DataFormatters/NSDictionary.cpp b/lldb/source/DataFormatters/NSDictionary.cpp index 30e9d3457e9..30bc3acfbec 100644 --- a/lldb/source/DataFormatters/NSDictionary.cpp +++ b/lldb/source/DataFormatters/NSDictionary.cpp @@ -44,11 +44,11 @@ GetLLDBNSPairType (TargetSP target_sp) if (clang_type) { - ClangASTContext::StartTagDeclarationDefinition(clang_type); + clang_type.StartTagDeclarationDefinition(); ClangASTType id_clang_type = target_ast_context->GetBasicType (eBasicTypeObjCID); - ClangASTContext::AddFieldToRecordType(clang_type, "key", id_clang_type, lldb::eAccessPublic, 0); - ClangASTContext::AddFieldToRecordType(clang_type, "value", id_clang_type, lldb::eAccessPublic, 0); - ClangASTContext::CompleteTagDeclarationDefinition(clang_type); + clang_type.AddFieldToRecordType("key", id_clang_type, lldb::eAccessPublic, 0); + clang_type.AddFieldToRecordType("value", id_clang_type, lldb::eAccessPublic, 0); + clang_type.CompleteTagDeclarationDefinition(); } } } |