reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lldb/include/lldb/Symbol/ClangASTContext.h
   87   clang::ASTContext *getASTContext();

References

tools/lldb/include/lldb/Symbol/ClangASTContext.h
  120     return ClangASTContext::GetCompleteDecl(getASTContext(), decl);
  134     SetMetadata(getASTContext(), object, meta_data);
  141     return GetMetadata(getASTContext(), object);
  173     return ClangASTContext::GetUnknownAnyType(getASTContext());
  185     return GetTranslationUnitDecl(getASTContext());
  208       clang::ASTContext *ast = getASTContext();
  379         getASTContext(), result_type, args, num_args, is_variadic, type_quals);
  386     return ClangASTContext::CreateFunctionType(getASTContext(), result_type,
  420     return GetPointerSizedIntType(getASTContext(), is_signed);
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
  456         m_target.GetScratchClangASTContext()->getASTContext(), m_ast_context,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
   85         lldbassert(module_ast_ctx->getASTContext());
   87         sources.emplace_back(*module_ast_ctx->getASTContext(),
  128       sources.push_back({*scratch_ast_context->getASTContext(),
  154       scratch_clang_ast_context->getASTContext();
 2065         m_ast_importer_sp->CopyType(m_ast_context, src_ast->getASTContext(),
 2069         CopyTypeWithMerger(*src_ast->getASTContext(), *m_merger_up,
 2101   clang::ASTContext *ast = lldb_ast->getASTContext();
 2130   clang::ASTContext *ast = lldb_ast->getASTContext();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  213   assert(source.getASTContext() == m_ast_context);
  217                             target.getASTContext(), source.getASTContext(),
  217                             target.getASTContext(), source.getASTContext(),
  222         source.getASTContext()->getSourceManager().getFileID(
  223             source.getASTContext()->getTranslationUnitDecl()->getLocation());
  228         *source.getASTContext(), *source.getFileManager(),
  817           scratch_clang_ast_context->getASTContext();
 1546   ASTContext *ast = clang_ast->getASTContext();
 1726       target->GetScratchClangASTContext()->getASTContext();
 1811             scratch_ast_context->getASTContext(), &var_decl->getASTContext(),
tools/lldb/source/Plugins/Language/ObjC/NSArray.cpp
  470           clang_ast_context->getASTContext()->ObjCBuiltinIdTy.getAsOpaquePtr());
  618                                  clang_ast_context->getASTContext()
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
  144         m_decl_vendor.m_ast_ctx.getASTContext()->getTranslationUnitDecl();
  165   m_ast_ctx.getASTContext()->setExternalSource(external_source_owning_ptr);
  175   clang::ASTContext *ast_ctx = m_ast_ctx.getASTContext();
  454     clang::ASTContext *context = m_ast_ctx.getASTContext();
  514           *m_ast_ctx.getASTContext(), interface_decl, clang::SourceLocation(),
  515           clang::SourceLocation(), &m_ast_ctx.getASTContext()->Idents.get(name),
  576     clang::ASTContext *ast_ctx = m_ast_ctx.getASTContext();
  660   return clang::ExternalASTMerger::ImporterSource(*m_ast_ctx.getASTContext(),
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
  318   clang::ASTContext *clang_ast = ast_ctx.getASTContext();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
 1816       clang::ASTContext *ast = m_ast.getASTContext();
 3561               static_cast<void *>(m_ast.getASTContext()), die.GetID(),
 3569               static_cast<void *>(m_ast.getASTContext()), die.GetID(),
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
  658   clang::QualType tag_qt = m_clang.getASTContext()->getTypeDeclType(&tag);
  703     return m_clang.getASTContext()->getPointerType(direct_type);
  728     return m_clang.getASTContext()->getMemberPointerType(
  735         m_clang.getASTContext()->getLValueReferenceType(pointee_type);
  738         m_clang.getASTContext()->getRValueReferenceType(pointee_type);
  740     pointer_type = m_clang.getASTContext()->getPointerType(pointee_type);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  106   auto *ast = clang_ast.getASTContext();
  431           *m_ast.getASTContext(), GetMSInheritance(*udt));
  903         GetDeclFromContextByName(*m_ast.getASTContext(), *decl_context, name);
 1163   uint32_t byte_size = m_ast.getASTContext()->getTypeSize(
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
  416     if (ast_ctx->getASTContext() &&
tools/lldb/source/Symbol/ClangASTContext.cpp
  600             *ast_sp->getASTContext(), *ast_sp->getFileManager(), true);
  680   ASTContext *ast = getASTContext();
  784     m_mangle_ctx_up.reset(getASTContext()->createMangleContext());
  848       getASTContext(), encoding, bit_size);
 1009   return GetBasicType(getASTContext(), basic_type);
 1026   ASTContext *ast = getASTContext();
 1256   ASTContext *ast = getASTContext();
 1304   return ast->getASTContext()->hasSameType(type1_qual, type2_qual);
 1353   ASTContext *ast = getASTContext();
 1490   ASTContext *ast = getASTContext();
 1522   ASTContext *ast = getASTContext();
 1587   ASTContext *ast = getASTContext();
 1612   ASTContext *ast = getASTContext();
 1637     ASTContext *ast = getASTContext();
 1706   return FieldIsBitfield(getASTContext(), field, bitfield_bit_size);
 1757   ASTContext *ast = getASTContext();
 1807   ASTContext *ast = getASTContext();
 1877     clang::BlockDecl *decl = clang::BlockDecl::Create(*getASTContext(), ctx,
 1906         (clang::TranslationUnitDecl *)GetTranslationUnitDecl(getASTContext());
 1908         *getASTContext(), decl_ctx, clang::SourceLocation(),
 1923         *getASTContext(), current_decl_ctx, clang::SourceLocation(),
 1926         *getASTContext(), current_decl_ctx, clang::SourceLocation(), using_decl,
 1939         *getASTContext(), decl_context, clang::SourceLocation(),
 1941         name && name[0] ? &getASTContext()->Idents.getOwn(name) : nullptr, type,
 2031     return DeclarationName(&getASTContext()->Idents.get(
 2050   return getASTContext()->DeclarationNames.getCXXOperatorName(op_kind);
 2057   ASTContext *ast = getASTContext();
 2126   ASTContext *ast = getASTContext();
 2160     ASTContext *ast = getASTContext();
 2234   ASTContext *ast = getASTContext();
 2953   clang::DeclContext *decl_ctx = ClangASTContext::GetASTContext(getASTContext())
 2965       ClangASTContext::GetMetadata(getASTContext(), result_iface_decl);
 2977   return GetCompleteQualType(getASTContext(), GetQualType(type),
 3099             uint64_t field_bitwidth = getASTContext()->getTypeSize(qual_type);
 3778                   getASTContext(), cxx_record_decl);
 3921   return GetCompleteQualType(getASTContext(), GetQualType(type),
 3928     clang::PrintingPolicy printing_policy(getASTContext()->getPrintingPolicy());
 3971             this, getASTContext()->ObjCBuiltinClassTy.getAsOpaquePtr());
 3978             this, getASTContext()->CharTy.getAsOpaquePtr());
 4198         getASTContext()->ObjCBuiltinIdTy.getTypePtr())
 4444     if (clang::ASTContext *ast_ctx = getASTContext()) {
 4490         GetFullyUnqualifiedType_Impl(getASTContext(), GetQualType(type)).getAsOpaquePtr());
 4538       if (GetCompleteQualType(getASTContext(), qual_type)) {
 4627       if (GetCompleteQualType(getASTContext(), qual_type)) {
 4775     clang::ASTContext *clang_ast = ast->getASTContext();
 4781       decl_ctx = ast->getASTContext()->getTranslationUnitDecl();
 4817       return CompilerType(this, getASTContext()
 4823           this, getASTContext()->getPointerType(qual_type).getAsOpaquePtr());
 4832     return CompilerType(this, getASTContext()
 4842     return CompilerType(this, getASTContext()
 4884     clang::ASTContext *clang_ast = getASTContext();
 4890       decl_ctx = getASTContext()->getTranslationUnitDecl();
 4934   return ClangASTContext::GetBasicType(getASTContext(), basic_type);
 4940   if (auto *ast = getASTContext()) {
 4963         return getASTContext()->getTypeSize(qual_type);
 4999       const uint32_t bit_size = getASTContext()->getTypeSize(qual_type);
 5002           return getASTContext()->getTypeSize(
 5008                getASTContext()->getTypeSize(
 5009                    getASTContext()->ObjCBuiltinClassTy);
 5024     return getASTContext()->getTypeAlign(GetQualType(type));
 5538     if (GetCompleteQualType(getASTContext(), qual_type)) {
 5582     if (GetCompleteQualType(getASTContext(), qual_type)) {
 5989                 getASTContext()->getASTRecordLayout(record_decl);
 6003                                                         *getASTContext())) {
 6030             this, GetObjCFieldAtIndex(getASTContext(), class_interface_decl,
 6048             this, GetObjCFieldAtIndex(getASTContext(), class_interface_decl,
 6230                   getASTContext()->getASTRecordLayout(cxx_record_decl);
 6272                                 getASTContext()->getObjCInterfaceType(
 6294                 this, getASTContext()
 6353                   getASTContext()->getASTRecordLayout(cxx_record_decl);
 6597             getASTContext()->getTypeSize(getASTContext()->ObjCBuiltinClassTy) /
 6597             getASTContext()->getTypeSize(getASTContext()->ObjCBuiltinClassTy) /
 6600             this, getASTContext()->ObjCBuiltinClassTy.getAsOpaquePtr());
 6615           getASTContext()->getASTRecordLayout(record_decl);
 6646                     getASTContext()->getVTableContext();
 6709           if (ClangASTContext::FieldIsBitfield(getASTContext(), *field,
 6739               getASTContext()->getASTObjCInterfaceLayout(class_interface_decl);
 6745                   this, getASTContext()
 6752                       getASTContext()->getObjCInterfaceType(
 6759                       getASTContext()->getTypeInfo(ivar_qual_type.getTypePtr());
 6790                     getASTContext()->getTypeInfo(ivar_qual_type.getTypePtr());
 6833                 if (ClangASTContext::FieldIsBitfield(getASTContext(), ivar_decl,
 7200               getASTContext()->Idents.get(name_sref);
 7288                   this, getASTContext()
 7875   clang::ASTContext *clang_ast = ast->getASTContext();
 7999               new (*ast->getASTContext()) clang::NamedDecl *[2];
 8004                   *ast->getASTContext(), record_decl, clang::SourceLocation(),
 8018           clang::NamedDecl **chain = new (*ast->getASTContext())
 8033                   *ast->getASTContext(), record_decl, clang::SourceLocation(),
 8074           clang::PackedAttr::CreateImplicit(*ast->getASTContext()));
 8096     ident = &ast->getASTContext()->Idents.get(name);
 8099       *ast->getASTContext(),            // ASTContext &
 8142   clang::DeclarationName decl_name(&getASTContext()->Idents.get(name));
 8170         *getASTContext(), cxx_record_decl, clang::SourceLocation(),
 8172             getASTContext()->DeclarationNames.getCXXDestructorName(
 8173                 getASTContext()->getCanonicalType(record_qual_type)),
 8180         *getASTContext(), cxx_record_decl, clang::SourceLocation(),
 8182             getASTContext()->DeclarationNames.getCXXConstructorName(
 8183                 getASTContext()->getCanonicalType(record_qual_type)),
 8204             *getASTContext(), cxx_record_decl, clang::SourceLocation(),
 8206                 getASTContext()->DeclarationNames.getCXXOperatorName(op_kind),
 8214             *getASTContext(), cxx_record_decl, clang::SourceLocation(),
 8216                 getASTContext()->DeclarationNames.getCXXConversionFunctionName(
 8217                     getASTContext()->getCanonicalType(
 8229           *getASTContext(), cxx_record_decl, clang::SourceLocation(),
 8244     cxx_method_decl->addAttr(clang::UsedAttr::CreateImplicit(*getASTContext()));
 8248         *getASTContext(), mangled_name, /*literal=*/false));
 8257         *getASTContext(), cxx_method_decl, clang::SourceLocation(),
 8324       getASTContext()->getTrivialTypeSourceInfo(GetQualType(type)),
 8353   clang::ASTContext *clang_ast = ast->getASTContext();
 8381   clang::ASTContext *clang_ast = ast->getASTContext();
 8591   clang::ASTContext *ast = lldb_ast->getASTContext();
 8828           clang::ASTContext *ast = lldb_ast->getASTContext();
 8890       *getASTContext(), enutype->getDecl(), clang::SourceLocation(),
 8891       name ? &getASTContext()->Idents.get(name) : nullptr, // Identifier
 8945     return CompilerType(ast, ast->getASTContext()
 9025           getASTContext()->getASTRecordLayout(record_decl);
 9069               getASTContext()->getTypeInfo(base_class_qual_type);
 9116             getASTContext()->getTypeInfo(field_type);
 9124         if (ClangASTContext::FieldIsBitfield(getASTContext(), *field,
 9205         getASTContext()->getTypeInfo(element_qual_type);
 9274         getASTContext()->getTypeInfo(typedef_qual_type);
 9300         getASTContext()->getTypeInfo(elaborated_qual_type);
 9326         getASTContext()->getTypeInfo(elaborated_qual_type);
 9352         getASTContext()->getTypeInfo(desugar_qual_type);
 9493           getASTContext()->getTypeInfo(typedef_qual_type);
 9635       ClangASTContext::GetMetadata(getASTContext(), type);
 9662           clang::PrintingPolicy policy = getASTContext()->getPrintingPolicy();
 9713         cxx_record_decl->print(llvm_ostrm, getASTContext()->getPrintingPolicy(),
 9716         record_decl->print(llvm_ostrm, getASTContext()->getPrintingPolicy(),
10291     return ast->getASTContext();
tools/lldb/source/Symbol/ClangASTImporter.cpp
   89   clang::ASTContext *dst_clang_ast = dst_ast.getASTContext();
   94       clang::ASTContext *src_clang_ast = src_ast->getASTContext();
tools/lldb/tools/lldb-test/lldb-test.cpp
  605   auto ast_ctx = clang_ast_ctx->getASTContext();
tools/lldb/unittests/Symbol/TestClangASTContext.cpp
   58   clang::ASTContext *context = m_ast->getASTContext();
  209   clang::ASTContext *context = m_ast->getASTContext();
  235   clang::ASTContext *context = m_ast->getASTContext();
  321       ClangASTContext::GetBasicType(m_ast->getASTContext(), eBasicTypeInt);
  399   infos.args.push_back(TemplateArgument(m_ast->getASTContext()->IntTy));
  402   infos.args.push_back(TemplateArgument(*m_ast->getASTContext(), arg,
  403                                         m_ast->getASTContext()->IntTy));
  427       m_ast->getASTContext()
  432   CompilerType int_type(m_ast.get(), m_ast->getASTContext()->IntTy.getAsOpaquePtr());