Home
last modified time | relevance | path

Searched refs:ReceiverType (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprObjC.cpp1508 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 DSemaCodeComplete.cpp8097 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 DParseInit.cpp287 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 DParseObjc.cpp3071 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 DParseExpr.cpp191 ParsedType ReceiverType, in ParseAssignmentExprWithObjCMessageExprStart() argument
195 ReceiverType, ReceiverExpr); in ParseAssignmentExprWithObjCMessageExprStart()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DUnnecessaryCopyInitialization.cpp90 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 DDynamicTypePropagation.cpp743 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 DRetainSummaryManager.cpp668 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 DRetainCountChecker.cpp354 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 DRetainSummaryManager.h663 QualType ReceiverType={});
681 getInstanceMethodSummary(const ObjCMessageExpr *ME, QualType ReceiverType);
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjC.cpp557 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 DParser.h2055 ParsedType ReceiverType,
2059 ParsedType ReceiverType, Expr *ReceiverExpr);
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h10129 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,