Lines Matching refs:ED
1850 const EnumDecl *ED = Ty->getDecl();
1853 if (!ED->getTypeForDecl()->isIncompleteType()) {
1854 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl());
1855 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl());
1862 if (!ED->getDefinition()) {
1864 EDContext = getContextDescriptor(cast<Decl>(ED->getDeclContext()));
1865 llvm::DIFile DefUnit = getOrCreateFile(ED->getLocation());
1866 unsigned Line = getLineNumber(ED->getLocation());
1867 StringRef EDName = ED->getName();
1875 ED = ED->getDefinition();
1877 Enum = ED->enumerator_begin(), EnumEnd = ED->enumerator_end();
1887 llvm::DIFile DefUnit = getOrCreateFile(ED->getLocation());
1888 unsigned Line = getLineNumber(ED->getLocation());
1890 getContextDescriptor(cast<Decl>(ED->getDeclContext()));
1891 llvm::DIType ClassTy = ED->isFixed() ?
1892 getOrCreateType(ED->getIntegerType(), DefUnit) : llvm::DIType();
1894 DBuilder.createEnumerationType(EnumContext, ED->getName(), DefUnit, Line,
3180 const EnumDecl *ED = cast<EnumDecl>(ECD->getDeclContext());
3181 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?");
3182 Ty = getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit);