Searched refs:OrigElement (Results 1 – 2 of 2) sorted by relevance
412 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local426 if (isa<IntegerLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()427 isa<CharacterLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()428 isa<FloatingLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()429 isa<ObjCBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement()430 isa<CXXBoolLiteralExpr>(OrigElement)) { in CheckObjCCollectionLiteralElement()431 if (S.NSAPIObj->getNSNumberFactoryMethodKind(OrigElement->getType())) { in CheckObjCCollectionLiteralElement()432 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement()433 : (isa<CXXBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement()434 isa<ObjCBoolLiteralExpr>(OrigElement)) ? 2 in CheckObjCCollectionLiteralElement()[all …]
10613 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local10615 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral()10618 getSema().collectUnexpandedParameterPacks(OrigElement.Key, Unexpanded); in TransformObjCDictionaryLiteral()10619 getSema().collectUnexpandedParameterPacks(OrigElement.Value, Unexpanded); in TransformObjCDictionaryLiteral()10626 Optional<unsigned> OrigNumExpansions = OrigElement.NumExpansions; in TransformObjCDictionaryLiteral()10628 SourceRange PatternRange(OrigElement.Key->getLocStart(), in TransformObjCDictionaryLiteral()10629 OrigElement.Value->getLocEnd()); in TransformObjCDictionaryLiteral()10630 if (getDerived().TryExpandParameterPacks(OrigElement.EllipsisLoc, in TransformObjCDictionaryLiteral()10642 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral()10646 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral()[all …]