Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp69 AppleObjCTypeEncodingParser::ReadStructElement(TypeSystemClang &ast_ctx, in ReadStructElement() argument
78 retval.type = BuildType(ast_ctx, type, for_expression, &bitfield_size); in ReadStructElement()
84 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildStruct() argument
85 return BuildAggregate(ast_ctx, type, for_expression, _C_STRUCT_B, _C_STRUCT_E, in BuildStruct()
90 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression) { in BuildUnion() argument
91 return BuildAggregate(ast_ctx, type, for_expression, _C_UNION_B, _C_UNION_E, in BuildUnion()
96 TypeSystemClang &ast_ctx, StringLexer &type, bool for_expression, in BuildAggregate() argument
117 auto element = ReadStructElement(ast_ctx, type, for_expression); in BuildAggregate()
130 CompilerType union_type(ast_ctx.CreateRecordType( in BuildAggregate()
144 union_type, element.name.c_str(), ast_ctx.GetType(element.type), in BuildAggregate()
[all …]
H A DAppleObjCDeclVendor.cpp151 clang::ASTContext &ast_ctx = m_ast_ctx->getASTContext(); in GetDeclForISA() local
162 ast_ctx.Idents.get(name.GetStringRef()); in GetDeclForISA()
165 ast_ctx, ast_ctx.getTranslationUnitDecl(), clang::SourceLocation(), in GetDeclForISA()
175 ast_ctx.getTranslationUnitDecl()->addDecl(new_iface_decl); in GetDeclForISA()
306 clang::ASTContext &ast_ctx(interface_decl->getASTContext()); in BuildMethod() local
328 &ast_ctx.Idents.get(llvm::StringRef(name_cursor))); in BuildMethod()
332 selector_components.push_back(&ast_ctx.Idents.get( in BuildMethod()
343 clang::Selector sel = ast_ctx.Selectors.getSelector( in BuildMethod()
355 ast_ctx, clang::SourceLocation(), clang::SourceLocation(), sel, in BuildMethod()
373 ast_ctx, ret, clang::SourceLocation(), clang::SourceLocation(), in BuildMethod()
[all …]
H A 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/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCoroutines.cpp145 auto ast_ctx = ts.dyn_cast_or_null<TypeSystemClang>(); in Update() local
146 if (!ast_ctx) in Update()
154 CompilerType void_type = ast_ctx->GetBasicType(lldb::eBasicTypeVoid); in Update()
155 CompilerType coro_func_type = ast_ctx->CreateFunctionType( in Update()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
H A DObjCLanguageRuntime.h164 virtual CompilerType RealizeType(TypeSystemClang &ast_ctx, const char *name,
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h158 static TypeSystemClang *GetASTContext(clang::ASTContext *ast_ctx);
H A DTypeSystemClang.cpp4270 clang::ASTContext &ast_ctx = getASTContext(); in GetArrayType() local
4272 return GetType(ast_ctx.getConstantArrayType( in GetArrayType()
4276 return GetType(ast_ctx.getIncompleteArrayType( in GetArrayType()