Lines Matching defs:ED
1805 llvm::DIType CGDebugInfo::CreateEnumType(const EnumDecl *ED) {
1808 if (!ED->getTypeForDecl()->isIncompleteType()) {
1809 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl());
1810 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl());
1815 if (!ED->getDefinition()) {
1817 EDContext = getContextDescriptor(cast<Decl>(ED->getDeclContext()));
1818 llvm::DIFile DefUnit = getOrCreateFile(ED->getLocation());
1819 unsigned Line = getLineNumber(ED->getLocation());
1820 StringRef EDName = ED->getName();
1828 ED = ED->getDefinition();
1830 Enum = ED->enumerator_begin(), EnumEnd = ED->enumerator_end();
1840 llvm::DIFile DefUnit = getOrCreateFile(ED->getLocation());
1841 unsigned Line = getLineNumber(ED->getLocation());
1843 getContextDescriptor(cast<Decl>(ED->getDeclContext()));
1844 llvm::DIType ClassTy = ED->isFixed() ?
1845 getOrCreateType(ED->getIntegerType(), DefUnit) : llvm::DIType();
1847 DBuilder.createEnumerationType(EnumContext, ED->getName(), DefUnit, Line,
3114 const EnumDecl *ED = cast<EnumDecl>(ECD->getDeclContext());
3115 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?");
3116 Ty = getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit);