diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-24 03:54:50 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-24 03:54:50 +0000 |
commit | 3ad353f3f44efdb9559adb4b690ef1b3098f0ad7 (patch) | |
tree | fc788af6e694010ed13aa581319bedba6f2102b1 /lldb/source/Plugins/Language/ObjC | |
parent | 74621cced742f10c4ba733793757a73d1bd60fa7 (diff) | |
download | bcm5719-llvm-3ad353f3f44efdb9559adb4b690ef1b3098f0ad7.tar.gz bcm5719-llvm-3ad353f3f44efdb9559adb4b690ef1b3098f0ad7.zip |
Rename clang_type -> compiler_type for variables.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13102
llvm-svn: 248461
Diffstat (limited to 'lldb/source/Plugins/Language/ObjC')
-rw-r--r-- | lldb/source/Plugins/Language/ObjC/NSDictionary.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp index 4820c349fb7..26dba1e2fd6 100644 --- a/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp +++ b/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp @@ -29,7 +29,7 @@ using namespace lldb_private::formatters; static CompilerType GetLLDBNSPairType (TargetSP target_sp) { - CompilerType clang_type; + CompilerType compiler_type; ClangASTContext *target_ast_context = target_sp->GetScratchClangASTContext(); @@ -37,23 +37,23 @@ GetLLDBNSPairType (TargetSP target_sp) { ConstString g___lldb_autogen_nspair("__lldb_autogen_nspair"); - clang_type = target_ast_context->GetTypeForIdentifier<clang::CXXRecordDecl>(g___lldb_autogen_nspair); + compiler_type = target_ast_context->GetTypeForIdentifier<clang::CXXRecordDecl>(g___lldb_autogen_nspair); - if (!clang_type) + if (!compiler_type) { - clang_type = target_ast_context->CreateRecordType(NULL, lldb::eAccessPublic, g___lldb_autogen_nspair.GetCString(), clang::TTK_Struct, lldb::eLanguageTypeC); + compiler_type = target_ast_context->CreateRecordType(NULL, lldb::eAccessPublic, g___lldb_autogen_nspair.GetCString(), clang::TTK_Struct, lldb::eLanguageTypeC); - if (clang_type) + if (compiler_type) { - ClangASTContext::StartTagDeclarationDefinition(clang_type); - CompilerType 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); + ClangASTContext::StartTagDeclarationDefinition(compiler_type); + CompilerType id_compiler_type = target_ast_context->GetBasicType (eBasicTypeObjCID); + ClangASTContext::AddFieldToRecordType(compiler_type, "key", id_compiler_type, lldb::eAccessPublic, 0); + ClangASTContext::AddFieldToRecordType(compiler_type, "value", id_compiler_type, lldb::eAccessPublic, 0); + ClangASTContext::CompleteTagDeclarationDefinition(compiler_type); } } } - return clang_type; + return compiler_type; } namespace lldb_private { |