Lines Matching refs:ED
531 if (EnumDecl *ED = findEnumForBlockReturn(CO->getTrueExpr())) in findEnumForBlockReturn() local
532 if (ED == findEnumForBlockReturn(CO->getFalseExpr())) in findEnumForBlockReturn()
533 return ED; in findEnumForBlockReturn()
573 EnumDecl *ED = findEnumForBlockReturn(*i); in findCommonEnumForBlockReturns() local
574 if (!ED) return nullptr; in findCommonEnumForBlockReturns()
578 if (findEnumForBlockReturn(*i) != ED) in findCommonEnumForBlockReturns()
583 if (!ED->hasNameForLinkage()) return nullptr; in findCommonEnumForBlockReturns()
585 return ED; in findCommonEnumForBlockReturns()
665 const EnumDecl *ED = findCommonEnumForBlockReturns(CSI.Returns); in deduceClosureReturnType() local
666 if (ED) { in deduceClosureReturnType()
667 CSI.ReturnType = Context.getTypeDeclType(ED); in deduceClosureReturnType()