Searched refs:OrigElement (Results 1 – 2 of 2) sorted by relevance
411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local425 if (isa<IntegerLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()426 isa<CharacterLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()427 isa<FloatingLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()428 isa<ObjCBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement()429 isa<CXXBoolLiteralExpr>(OrigElement)) { in CheckObjCCollectionLiteralElement()431 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement()437 << Which << OrigElement->getSourceRange() in CheckObjCCollectionLiteralElement()441 S.BuildObjCNumericLiteral(OrigElement->getBeginLoc(), OrigElement); in CheckObjCCollectionLiteralElement()453 << 0 << OrigElement->getSourceRange() in CheckObjCCollectionLiteralElement()[all …]
13654 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local13656 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral()13669 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral()13670 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral()13685 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral()13692 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral()13727 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral()13739 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral()13743 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral()13748 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral()[all …]