Home
last modified time | relevance | path

Searched refs:ast_ctx (Results 1 – 9 of 9) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeEncodingParser.cpp65 AppleObjCTypeEncodingParser::ReadStructElement(TypeSystemClang &ast_ctx, in ReadStructElement() argument
74 retval.type = BuildType(ast_ctx, type, for_expression, &bitfield_size); in ReadStructElement()
80 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildStruct() argument
81 return BuildAggregate(ast_ctx, type, for_expression, '{', '}', in BuildStruct()
86 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildUnion() argument
87 return BuildAggregate(ast_ctx, type, for_expression, '(', ')', in BuildUnion()
92 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression, in BuildAggregate() argument
113 auto element = ReadStructElement(ast_ctx, type, for_expression); in BuildAggregate()
126 CompilerType union_type(ast_ctx.CreateRecordType( in BuildAggregate()
140 union_type, element.name.c_str(), ast_ctx.GetType(element.type), in BuildAggregate()
[all …]
DAppleObjCDeclVendor.cpp153 clang::ASTContext &ast_ctx = m_ast_ctx.getASTContext(); in GetDeclForISA() local
164 ast_ctx.Idents.get(name.GetStringRef()); in GetDeclForISA()
167 ast_ctx, ast_ctx.getTranslationUnitDecl(), clang::SourceLocation(), in GetDeclForISA()
177 ast_ctx.getTranslationUnitDecl()->addDecl(new_iface_decl); in GetDeclForISA()
308 clang::ASTContext &ast_ctx(interface_decl->getASTContext()); in BuildMethod() local
330 &ast_ctx.Idents.get(llvm::StringRef(name_cursor))); in BuildMethod()
334 selector_components.push_back(&ast_ctx.Idents.get( in BuildMethod()
345 clang::Selector sel = ast_ctx.Selectors.getSelector( in BuildMethod()
357 ast_ctx, clang::SourceLocation(), clang::SourceLocation(), sel, in BuildMethod()
375 ast_ctx, ret, clang::SourceLocation(), clang::SourceLocation(), in BuildMethod()
[all …]
DAppleObjCTypeEncodingParser.h25 CompilerType RealizeType(TypeSystemClang &ast_ctx, const char *name,
42 clang::QualType BuildStruct(TypeSystemClang &ast_ctx, StringLexer &type,
49 clang::QualType BuildUnion(TypeSystemClang &ast_ctx, StringLexer &type,
52 clang::QualType BuildArray(TypeSystemClang &ast_ctx, StringLexer &type,
57 StructElement ReadStructElement(TypeSystemClang &ast_ctx, StringLexer &type,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DLibCxxMap.cpp300 TypeSystemClang *ast_ctx = in GetValueOffset() local
302 if (!ast_ctx) in GetValueOffset()
304 CompilerType tree_node_type = ast_ctx->CreateStructForIdentifier( in GetValueOffset()
306 {{"ptr0", ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType()}, in GetValueOffset()
307 {"ptr1", ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType()}, in GetValueOffset()
308 {"ptr2", ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType()}, in GetValueOffset()
309 {"cw", ast_ctx->GetBasicType(lldb::eBasicTypeBool)}, in GetValueOffset()
DLibCxx.cpp280 TypeSystemClang *ast_ctx = in Update() local
282 if (!ast_ctx) in Update()
284 CompilerType tree_node_type = ast_ctx->CreateStructForIdentifier( in Update()
287 ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType()}, in Update()
289 ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType()}, in Update()
291 ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType()}, in Update()
292 {"cw", ast_ctx->GetBasicType(lldb::eBasicTypeBool)}, in Update()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
DNSString.cpp37 TypeSystemClang *ast_ctx = ScratchTypeSystemClang::GetForTarget(target); in GetNSPathStore2Type() local
39 if (!ast_ctx) in GetNSPathStore2Type()
43 ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType(); in GetNSPathStore2Type()
45 ast_ctx->GetBuiltinTypeForEncodingAndBitSize(eEncodingUint, 32); in GetNSPathStore2Type()
47 return ast_ctx->GetOrCreateStructForIdentifier( in GetNSPathStore2Type()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
DObjCLanguageRuntime.h155 virtual CompilerType RealizeType(TypeSystemClang &ast_ctx, const char *name,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.h157 static TypeSystemClang *GetASTContext(clang::ASTContext *ast_ctx);
DTypeSystemClang.cpp4226 clang::ASTContext &ast_ctx = getASTContext(); in GetArrayType() local
4228 return GetType(ast_ctx.getConstantArrayType( in GetArrayType()
4232 return GetType(ast_ctx.getIncompleteArrayType( in GetArrayType()