Home
last modified time | relevance | path

Searched refs:OrigElement (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaExprObjC.cpp410 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local
424 if (isa<IntegerLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()
425 isa<CharacterLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()
426 isa<FloatingLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()
427 isa<ObjCBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement()
428 isa<CXXBoolLiteralExpr>(OrigElement)) { in CheckObjCCollectionLiteralElement()
429 if (S.NSAPIObj->getNSNumberFactoryMethodKind(OrigElement->getType())) { in CheckObjCCollectionLiteralElement()
430 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement()
431 : (isa<CXXBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement()
432 isa<ObjCBoolLiteralExpr>(OrigElement)) ? 2 in CheckObjCCollectionLiteralElement()
[all …]
DTreeTransform.h10950 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local
10952 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral()
10955 getSema().collectUnexpandedParameterPacks(OrigElement.Key, Unexpanded); in TransformObjCDictionaryLiteral()
10956 getSema().collectUnexpandedParameterPacks(OrigElement.Value, Unexpanded); in TransformObjCDictionaryLiteral()
10963 Optional<unsigned> OrigNumExpansions = OrigElement.NumExpansions; in TransformObjCDictionaryLiteral()
10965 SourceRange PatternRange(OrigElement.Key->getLocStart(), in TransformObjCDictionaryLiteral()
10966 OrigElement.Value->getLocEnd()); in TransformObjCDictionaryLiteral()
10967 if (getDerived().TryExpandParameterPacks(OrigElement.EllipsisLoc, in TransformObjCDictionaryLiteral()
10979 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral()
10983 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral()
[all …]