Searched refs:OrigElement (Results 1 – 2 of 2) sorted by relevance
416 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local430 if (isa<IntegerLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()431 isa<CharacterLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()432 isa<FloatingLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()433 isa<ObjCBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement()434 isa<CXXBoolLiteralExpr>(OrigElement)) { in CheckObjCCollectionLiteralElement()436 OrigElement->getType())) { in CheckObjCCollectionLiteralElement()437 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement()438 : (isa<CXXBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement()439 isa<ObjCBoolLiteralExpr>(OrigElement)) ? 2 in CheckObjCCollectionLiteralElement()[all …]
16594 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local16596 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral()16599 getSema().collectUnexpandedParameterPacks(OrigElement.Key, Unexpanded); in TransformObjCDictionaryLiteral()16600 getSema().collectUnexpandedParameterPacks(OrigElement.Value, Unexpanded); in TransformObjCDictionaryLiteral()16607 UnsignedOrNone OrigNumExpansions = OrigElement.NumExpansions; in TransformObjCDictionaryLiteral()16609 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral()16610 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral()16611 if (getDerived().TryExpandParameterPacks(OrigElement.EllipsisLoc, in TransformObjCDictionaryLiteral()16621 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral()16625 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral()[all …]