Lines Matching refs:m_ast
69 : DWARFASTParser(Kind::DWARFASTParserClang), m_ast(ast),
203 GetClangASTImporter().CopyType(m_ast, pcm_type);
612 m_ast, GetClangASTImporter(),
667 clang_type = m_ast.GetBasicType(eBasicTypeNullPtr);
676 clang_type = m_ast.GetBuiltinTypeForDWARFEncodingAndBitSize(
735 clang_type = m_ast.CreateBlockPointerType(
760 clang_type = m_ast.GetBasicType(eBasicTypeObjCID);
772 clang_type = m_ast.GetBasicType(eBasicTypeObjCClass);
784 clang_type = m_ast.GetBasicType(eBasicTypeObjCSel);
806 clang_type = m_ast.GetBasicType(eBasicTypeObjCID);
828 return m_ast.PrintTemplateParams(template_param_infos);
919 enumerator_clang_type = m_ast.GetBuiltinTypeForDWARFEncodingAndBitSize(
922 enumerator_clang_type = m_ast.GetBasicType(eBasicTypeInt);
926 CompilerType clang_type = m_ast.CreateEnumerationType(
1022 clang::ObjCMethodDecl *objc_method_decl = m_ast.AddMethodToObjCObjectType(
1036 m_ast.SetMetadataAsUserID(objc_method_decl, die.GetID());
1124 m_ast, GetClangASTImporter(),
1141 clang::CXXMethodDecl *cxx_method_decl = m_ast.AddMethodToCXXRecordType(
1160 m_ast.SetMetadata(cxx_method_decl, metadata);
1198 return_clang_type = m_ast.GetBasicType(eBasicTypeVoid);
1249 m_ast.CreateFunctionType(return_clang_type, function_param_types.data(),
1305 function_decl = m_ast.CreateFunctionDeclaration(
1306 ignore_containing_context ? m_ast.GetTranslationUnitDecl()
1315 template_function_decl = m_ast.CreateFunctionDeclaration(
1316 ignore_containing_context ? m_ast.GetTranslationUnitDecl()
1321 m_ast.CreateFunctionTemplateDecl(
1324 m_ast.CreateFunctionTemplateSpecializationInfo(
1343 m_ast.getASTContext(), attrs.mangled_name, /*literal=*/false));
1348 m_ast.SetFunctionParameters(function_decl, function_param_decls);
1350 m_ast.SetFunctionParameters(template_function_decl,
1366 m_ast.SetMetadata(function_decl, metadata);
1409 clang_type = m_ast.CreateArrayType(array_element_type, num_elements,
1418 m_ast.CreateArrayType(array_element_type, 0, attrs.is_vector);
1427 m_ast.SetMetadataAsUserID(type, die.GetID());
1764 PrepareContextToReceiveMembers(m_ast, GetClangASTImporter(),
1784 m_ast.ParseClassTemplateDecl(
1800 m_ast.CreateClassTemplateSpecializationDecl(
1804 m_ast.CreateClassTemplateSpecializationType(class_specialization_decl);
1806 m_ast.SetMetadata(class_template_decl, metadata);
1807 m_ast.SetMetadata(class_specialization_decl, metadata);
1811 clang_type = m_ast.CreateRecordType(
1859 m_ast.SetHasExternalStorage(clang_type.GetOpaqueQualType(), true);
1867 m_ast.GetAsCXXRecordDecl(clang_type.GetOpaqueQualType());
1875 m_ast.GetAsCXXRecordDecl(clang_type.GetOpaqueQualType());
2014 clang::ASTContext &ast = m_ast.getASTContext();
2016 clang_type = m_ast.GetBasicType(eBasicTypeVoid);
2042 auto *tplt_type = m_ast.CreateTemplateTemplateParmDecl(template_name);
2144 m_ast.GetType(type_source_info->getType()));
2147 m_ast.TransferBaseClasses(clang_type.GetOpaqueQualType(), std::move(bases));
2150 m_ast.AddMethodOverridesForCXXRecordType(clang_type.GetOpaqueQualType());
2164 m_ast.GetAsCXXRecordDecl(clang_type.GetOpaqueQualType());
2203 m_ast.SetHasExternalStorage(clang_type.GetOpaqueQualType(), false);
2230 m_ast.SetDeclIsForcefullyCompleted(ClangUtil::GetAsTagDecl(clang_type));
2250 return m_ast.GetCompilerDecl(clang_decl);
2258 return m_ast.CreateDeclContext(clang_decl_ctx);
2267 return m_ast.CreateDeclContext(clang_decl_ctx);
2329 m_ast.AddEnumerationValueToEnumerationType(
2978 m_ast.GetBuiltinTypeForEncodingAndBitSize(eEncodingSint,
3042 m_ast.CreateArrayType(member_array_element_type, 0, false);
3053 m_ast.SetMetadataAsUserID(field_decl, die.GetID());
3210 clang::ParmVarDecl *param_var_decl = m_ast.CreateParameterDeclaration(
3216 m_ast.SetMetadataAsUserID(param_var_decl, die.GetID());
3295 decl = m_ast.CreateVariableDeclaration(
3313 decl = m_ast.CreateUsingDeclaration(
3333 decl = m_ast.CreateUsingDirectiveDeclaration(
3359 decl_ctx = m_ast.GetTranslationUnitDecl();
3415 m_ast.GetOrCreateClangModule(name, GetOwningClangModule(module_die));
3495 m_ast.CreateBlockDeclaration(decl_context, GetOwningClangModule(die));
3522 namespace_decl = m_ast.GetUniqueNamespaceDeclaration(
3585 return m_ast.GetTranslationUnitDecl();
3805 auto decl_context = m_ast.GetDeclContextForType(class_clang_type);
3807 auto inner_holder = m_ast.CreateRecordType(
3812 m_ast.StartTagDeclarationDefinition(inner_holder);
3813 m_ast.SetIsPacked(inner_holder);
3821 auto field_type = m_ast.CreateRecordType(
3822 m_ast.GetDeclContextForType(inner_holder), OptionalClangModuleID(),
3828 m_ast.StartTagDeclarationDefinition(field_type);
3832 m_ast.AddFieldToRecordType(
3838 m_ast.AddFieldToRecordType(field_type, "value",
3842 m_ast.CompleteTagDeclarationDefinition(field_type);
3849 m_ast.AddFieldToRecordType(inner_holder, llvm::StringRef(name),
3855 auto inner_field = m_ast.AddFieldToRecordType(class_clang_type,
3859 m_ast.CompleteTagDeclarationDefinition(inner_holder);