Searched refs:OrigElement (Results 1 – 2 of 2) sorted by relevance
418 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local432 if (isa<IntegerLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()433 isa<CharacterLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()434 isa<FloatingLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()435 isa<ObjCBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement()436 isa<CXXBoolLiteralExpr>(OrigElement)) { in CheckObjCCollectionLiteralElement()438 OrigElement->getType())) { in CheckObjCCollectionLiteralElement()439 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement()440 : (isa<CXXBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement()441 isa<ObjCBoolLiteralExpr>(OrigElement)) ? 2 in CheckObjCCollectionLiteralElement()[all …]
15455 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local15457 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral()15460 getSema().collectUnexpandedParameterPacks(OrigElement.Key, Unexpanded); in TransformObjCDictionaryLiteral()15461 getSema().collectUnexpandedParameterPacks(OrigElement.Value, Unexpanded); in TransformObjCDictionaryLiteral()15468 std::optional<unsigned> OrigNumExpansions = OrigElement.NumExpansions; in TransformObjCDictionaryLiteral()15470 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral()15471 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral()15472 if (getDerived().TryExpandParameterPacks(OrigElement.EllipsisLoc, in TransformObjCDictionaryLiteral()15482 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral()15486 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral()[all …]