/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 410 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() 430 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement() 436 << Which << OrigElement->getSourceRange() in CheckObjCCollectionLiteralElement() 440 OrigElement); in CheckObjCCollectionLiteralElement() 452 << 0 << OrigElement->getSourceRange() in CheckObjCCollectionLiteralElement() [all …]
|
H A D | TreeTransform.h | 11763 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local 11765 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral() 11778 SourceRange PatternRange(OrigElement.Key->getLocStart(), in TransformObjCDictionaryLiteral() 11779 OrigElement.Value->getLocEnd()); in TransformObjCDictionaryLiteral() 11796 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 11803 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral() 11838 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral() 11850 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral() 11854 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 11859 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
H A D | TreeTransform.h | 12634 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local 12636 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral() 12649 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral() 12650 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral() 12665 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 12672 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral() 12707 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral() 12719 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral() 12723 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 12728 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
H A D | TreeTransform.h | 13352 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local 13354 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral() 13367 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral() 13368 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral() 13383 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 13390 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral() 13425 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral() 13437 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral() 13441 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 13446 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
H A D | TreeTransform.h | 13367 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local 13369 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral() 13382 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral() 13383 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral() 13398 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 13405 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral() 13440 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral() 13452 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral() 13456 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 13461 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral() [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
H A D | TreeTransform.h | 12634 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local 12636 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral() 12649 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral() 12650 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral() 12665 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 12672 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral() 12707 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral() 12719 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral() 12723 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 12728 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
H A D | TreeTransform.h | 13290 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local 13292 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral() 13305 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral() 13306 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral() 13321 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 13328 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral() 13363 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral() 13375 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral() 13379 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 13384 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 409 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 423 if (isa<IntegerLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement() 424 isa<CharacterLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement() 425 isa<FloatingLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement() 426 isa<ObjCBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement() 427 isa<CXXBoolLiteralExpr>(OrigElement)) { in CheckObjCCollectionLiteralElement() 429 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement() 435 << Which << OrigElement->getSourceRange() in CheckObjCCollectionLiteralElement() 439 S.BuildObjCNumericLiteral(OrigElement->getBeginLoc(), OrigElement); in CheckObjCCollectionLiteralElement() 451 << 0 << OrigElement->getSourceRange() in CheckObjCCollectionLiteralElement() [all …]
|
H A D | TreeTransform.h | 12191 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local 12193 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral() 12206 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral() 12207 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral() 12222 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 12229 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral() 12264 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral() 12276 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral() 12280 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 12285 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
H A D | TreeTransform.h | 13349 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local 13351 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral() 13364 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral() 13365 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral() 13380 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 13387 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral() 13422 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral() 13434 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral() 13438 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 13443 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 409 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 423 if (isa<IntegerLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement() 424 isa<CharacterLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement() 425 isa<FloatingLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement() 426 isa<ObjCBoolLiteralExpr>(OrigElement) || in CheckObjCCollectionLiteralElement() 427 isa<CXXBoolLiteralExpr>(OrigElement)) { in CheckObjCCollectionLiteralElement() 429 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement() 435 << Which << OrigElement->getSourceRange() in CheckObjCCollectionLiteralElement() 439 S.BuildObjCNumericLiteral(OrigElement->getBeginLoc(), OrigElement); in CheckObjCCollectionLiteralElement() 451 << 0 << OrigElement->getSourceRange() in CheckObjCCollectionLiteralElement() [all …]
|
H A D | TreeTransform.h | 11824 ObjCDictionaryElement OrigElement = E->getKeyValueElement(I); in TransformObjCDictionaryLiteral() local 11826 if (OrigElement.isPackExpansion()) { in TransformObjCDictionaryLiteral() 11839 SourceRange PatternRange(OrigElement.Key->getBeginLoc(), in TransformObjCDictionaryLiteral() 11840 OrigElement.Value->getEndLoc()); in TransformObjCDictionaryLiteral() 11855 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 11862 if (Value.get() != OrigElement.Value) in TransformObjCDictionaryLiteral() 11897 Element.EllipsisLoc = OrigElement.EllipsisLoc; in TransformObjCDictionaryLiteral() 11909 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral() 11913 if (Key.get() != OrigElement.Key) in TransformObjCDictionaryLiteral() 11918 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral() [all …]
|
/dports/lang/clang-mesa/clang-13.0.1.src/lib/Sema/ |
H A D | SemaExprObjC.cpp | 411 Expr *OrigElement = Element; in CheckObjCCollectionLiteralElement() local 425 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 …]
|