| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 1508 if (ReceiverType->isObjCClassType() || in getBaseMessageSendResultType() 1516 return transferNullability(ReceiverType); in getBaseMessageSendResultType() 2290 ReceiverType = nullptr; in getObjCMessageKind() 2440 if (!ReceiverType.isNull()) in BuildClassMessageImplicit() 2630 if (ReceiverType->isDependentType()) { in BuildClassMessage() 2647 << ReceiverType; in BuildClassMessage() 2769 if (ReceiverType.isNull()) in ActOnClassMessage() 2901 ReceiverType = Receiver->getType(); in BuildInstanceMessage() 2915 if (ReceiverType->isPointerType()) { in BuildInstanceMessage() 2926 ReceiverType = Receiver->getType(); in BuildInstanceMessage() [all …]
|
| H A D | SemaCodeComplete.cpp | 8097 QualType ReceiverType = RecExpr in CodeCompleteObjCInstanceMessage() local 8106 if (ReceiverType->isObjCIdType() || ReceiverType->isObjCClassType()) { in CodeCompleteObjCInstanceMessage() 8108 if (ReceiverType->isObjCClassType()) in CodeCompleteObjCInstanceMessage() 8113 ReceiverType = in CodeCompleteObjCInstanceMessage() 8120 ReceiverType = RecExpr->getType(); in CodeCompleteObjCInstanceMessage() 8129 ReceiverType, SelIdents)); in CodeCompleteObjCInstanceMessage() 8152 if (ReceiverType->isObjCClassType() || in CodeCompleteObjCInstanceMessage() 8153 ReceiverType->isObjCQualifiedClassType()) { in CodeCompleteObjCInstanceMessage() 8162 ReceiverType->getAsObjCQualifiedIdType()) { in CodeCompleteObjCInstanceMessage() 8170 ReceiverType->getAsObjCInterfacePointerType()) { in CodeCompleteObjCInstanceMessage() [all …]
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseInit.cpp | 287 ParsedType ReceiverType; in ParseInitializerWithPotentialDesignator() local 293 NextToken().is(tok::period), ReceiverType)) { in ParseInitializerWithPotentialDesignator() 302 if (!ReceiverType) { in ParseInitializerWithPotentialDesignator() 311 = parseObjCTypeArgsAndProtocolQualifiers(IILoc, ReceiverType, in ParseInitializerWithPotentialDesignator() 319 ReceiverType = NewReceiverType.get(); in ParseInitializerWithPotentialDesignator() 324 ReceiverType, in ParseInitializerWithPotentialDesignator()
|
| H A D | ParseObjc.cpp | 3071 ParsedType ReceiverType; in ParseObjCMessageExpression() local 3075 ReceiverType)) { in ParseObjCMessageExpression() 3081 if (!ReceiverType) { in ParseObjCMessageExpression() 3100 ReceiverType = NewReceiverType.get(); in ParseObjCMessageExpression() 3104 ReceiverType, nullptr); in ParseObjCMessageExpression() 3164 ParsedType ReceiverType, in ParseObjCMessageExpressionBody() argument 3173 else if (ReceiverType) in ParseObjCMessageExpressionBody() 3212 else if (ReceiverType) in ParseObjCMessageExpressionBody() 3250 else if (ReceiverType) in ParseObjCMessageExpressionBody() 3321 else if (ReceiverType) in ParseObjCMessageExpressionBody() [all …]
|
| H A D | ParseExpr.cpp | 191 ParsedType ReceiverType, in ParseAssignmentExprWithObjCMessageExprStart() argument 195 ReceiverType, ReceiverExpr); in ParseAssignmentExprWithObjCMessageExprStart()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | UnnecessaryCopyInitialization.cpp | 90 const auto ReceiverType = in AST_MATCHER_FUNCTION_P() local 96 thisPointerType(ReceiverType)), in AST_MATCHER_FUNCTION_P() 98 hasArgument(0, hasType(ReceiverType))))); in AST_MATCHER_FUNCTION_P()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 743 QualType ReceiverType = MessageExpr->getReceiverType(); in findMethodDecl() local 745 ReceiverType->getAs<ObjCObjectPointerType>(); in findMethodDecl() 754 if (ReceiverType->isObjCIdType() || ReceiverType->isObjCClassType() || in findMethodDecl()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | RetainSummaryManager.cpp | 668 QualType ReceiverType) { in getSummary() argument 687 Summ = getInstanceMethodSummary(ME, ReceiverType); in getSummary() 1132 QualType ReceiverType) { in getInstanceMethodSummary() argument 1137 if (!ReceiverType.isNull()) in getInstanceMethodSummary() 1138 if (const auto *PT = ReceiverType->getAs<ObjCObjectPointerType>()) in getInstanceMethodSummary()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 354 QualType ReceiverType) { in getSummary() argument 360 isReceiverUnconsumedSelf(Call), ReceiverType); in getSummary() 368 QualType ReceiverType; in checkPostCall() local 374 ReceiverType = T->getType(); in checkPostCall() 378 const RetainSummary *Summ = getSummary(Summaries, Call, ReceiverType); in checkPostCall()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | RetainSummaryManager.h | 663 QualType ReceiverType={}); 681 getInstanceMethodSummary(const ObjCMessageExpr *ME, QualType ReceiverType);
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGObjC.cpp | 557 QualType ReceiverType = SubOME->getClassReceiver(); in tryEmitSpecializedAllocInit() local 558 const ObjCObjectType *ObjTy = ReceiverType->castAs<ObjCObjectType>(); in tryEmitSpecializedAllocInit() 611 QualType ReceiverType; in EmitObjCMessageExpr() local 615 ReceiverType = E->getInstanceReceiver()->getType(); in EmitObjCMessageExpr() 616 isClassMessage = ReceiverType->isObjCClassType(); in EmitObjCMessageExpr() 627 ReceiverType = E->getClassReceiver(); in EmitObjCMessageExpr() 628 OID = ReceiverType->castAs<ObjCObjectType>()->getInterface(); in EmitObjCMessageExpr() 636 ReceiverType = E->getSuperType(); in EmitObjCMessageExpr() 642 ReceiverType = E->getSuperType(); in EmitObjCMessageExpr() 658 Receiver = EmitARCRetainAutorelease(ReceiverType, Receiver); in EmitObjCMessageExpr()
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 2055 ParsedType ReceiverType, 2059 ParsedType ReceiverType, Expr *ReceiverExpr);
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 10129 ParsedType &ReceiverType); 10139 QualType ReceiverType, 10149 ExprResult BuildClassMessageImplicit(QualType ReceiverType, 10165 QualType ReceiverType, 10176 QualType ReceiverType, 12391 bool CheckMessageArgumentTypes(const Expr *Receiver, QualType ReceiverType, 12402 QualType getMessageSendResultType(const Expr *Receiver, QualType ReceiverType,
|