Home
last modified time | relevance | path

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

/external/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,
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DLibCxxMap.cpp301 TypeSystemClang *ast_ctx = in GetValueOffset() local
303 if (!ast_ctx) in GetValueOffset()
305 CompilerType tree_node_type = ast_ctx->CreateStructForIdentifier( in GetValueOffset()
307 {{"ptr0", ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType()}, in GetValueOffset()
308 {"ptr1", ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType()}, in GetValueOffset()
309 {"ptr2", ast_ctx->GetBasicType(lldb::eBasicTypeVoid).GetPointerType()}, in GetValueOffset()
310 {"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()
/external/llvm-project/lldb/unittests/SymbolFile/DWARF/
DDWARFASTParserClangTests.cpp95 TypeSystemClang ast_ctx("dummy ASTContext", HostInfoBase::GetTargetTriple()); in TEST_F() local
96 DWARFASTParserClangStub ast_parser(ast_ctx); in TEST_F()
/external/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()
/external/llvm-project/lldb/source/Plugins/SystemRuntime/MacOSX/
DSystemRuntimeMacOSX.cpp416 TypeSystemClang *ast_ctx = in ReadLibdispatchTSDIndexes() local
420 ast_ctx->GetBuiltinTypeForEncodingAndBitSize(eEncodingUint, 16); in ReadLibdispatchTSDIndexes()
421 CompilerType dispatch_tsd_indexes_s = ast_ctx->CreateRecordType( in ReadLibdispatchTSDIndexes()
/external/llvm-project/lldb/unittests/SymbolFile/PDB/
DSymbolFilePDBTests.cpp442 clang::ASTContext &ast_ctx = clang_ast_ctx->getASTContext(); in TEST_F() local
444 auto tu = ast_ctx.getTranslationUnitDecl(); in TEST_F()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
DObjCLanguageRuntime.h147 virtual CompilerType RealizeType(TypeSystemClang &ast_ctx, const char *name,
/external/llvm-project/lldb/tools/lldb-test/
Dlldb-test.cpp619 clang::ASTContext &ast_ctx = clang_ast_ctx->getASTContext(); in dumpAST() local
621 clang::TranslationUnitDecl *tu = ast_ctx.getTranslationUnitDecl(); in dumpAST()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.h157 static TypeSystemClang *GetASTContext(clang::ASTContext *ast_ctx);
DTypeSystemClang.cpp4143 clang::ASTContext &ast_ctx = getASTContext(); in GetArrayType() local
4145 return GetType(ast_ctx.getConstantArrayType( in GetArrayType()
4149 return GetType(ast_ctx.getIncompleteArrayType( in GetArrayType()