Differential D18381 Diff 51476 source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
Changeset View
Changeset View
Standalone View
Standalone View
source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
Context not available. | |||||
#include "AppleObjCTypeEncodingParser.h" | #include "AppleObjCTypeEncodingParser.h" | ||||
#include "lldb/Symbol/ClangASTContext.h" | #include "lldb/Symbol/ClangASTContext.h" | ||||
#include "lldb/Symbol/ClangUtil.h" | |||||
#include "lldb/Symbol/CompilerType.h" | #include "lldb/Symbol/CompilerType.h" | ||||
#include "lldb/Target/Process.h" | #include "lldb/Target/Process.h" | ||||
#include "lldb/Target/Target.h" | #include "lldb/Target/Target.h" | ||||
Context not available. | |||||
} | } | ||||
ClangASTContext::CompleteTagDeclarationDefinition(union_type); | ClangASTContext::CompleteTagDeclarationDefinition(union_type); | ||||
} | } | ||||
return ClangASTContext::GetQualType(union_type); | return ClangUtil::GetQualType(union_type); | ||||
} | } | ||||
clang::QualType | clang::QualType | ||||
Context not available. | |||||
if (!lldb_ctx) | if (!lldb_ctx) | ||||
return clang::QualType(); | return clang::QualType(); | ||||
CompilerType array_type(lldb_ctx->CreateArrayType(CompilerType(&ast_ctx, element_type), size, false)); | CompilerType array_type(lldb_ctx->CreateArrayType(CompilerType(&ast_ctx, element_type), size, false)); | ||||
return ClangASTContext::GetQualType(array_type); | return ClangUtil::GetQualType(array_type); | ||||
} | } | ||||
// the runtime can emit these in the form of @"SomeType", giving more specifics | // the runtime can emit these in the form of @"SomeType", giving more specifics | ||||
Context not available. | |||||
if (!num_types) | if (!num_types) | ||||
return ast_ctx.getObjCIdType(); | return ast_ctx.getObjCIdType(); | ||||
#endif | #endif | ||||
return ClangASTContext::GetQualType(ClangASTContext::GetTypeForDecl(decls[0]).GetPointerType()); | return ClangUtil::GetQualType(ClangASTContext::GetTypeForDecl(decls[0]).GetPointerType()); | ||||
} | } | ||||
else | else | ||||
{ | { | ||||
Context not available. |