Home
last modified time | relevance | path

Searched refs:MCall (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DTrustNonnullChecker.cpp170 const auto *MCall = cast<ObjCMethodCall>(&Call); in isNonNullPtr() local
171 const ObjCMethodDecl *MD = MCall->getDecl(); in isNonNullPtr()
183 if (!MCall->isInstanceMessage()) in isNonNullPtr()
187 SVal Receiver = MCall->getReceiverSVal(); in isNonNullPtr()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConsumed.cpp824 if (const auto *MCall = dyn_cast<CXXMemberCallExpr>(Call)) in VisitCXXOperatorCallExpr() local
825 handleCall(MCall, MCall->getImplicitObjectArgument(), FunDecl); in VisitCXXOperatorCallExpr()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp715 CallInst *MCall = nullptr; in createMalloc() local
718 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall", in createMalloc()
720 Result = MCall; in createMalloc()
723 Result = new BitCastInst(MCall, AllocPtrType, Name, InsertBefore); in createMalloc()
725 MCall = CallInst::Create(MallocFunc, AllocSize, OpB, "malloccall"); in createMalloc()
726 Result = MCall; in createMalloc()
728 InsertAtEnd->getInstList().push_back(MCall); in createMalloc()
730 Result = new BitCastInst(MCall, AllocPtrType, Name); in createMalloc()
733 MCall->setTailCall(); in createMalloc()
735 MCall->setCallingConv(F->getCallingConv()); in createMalloc()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp658 } else if (const auto *MCall = dyn_cast<CXXMemberCall>(&CallOrMsg)) { in checkSummary() local
659 if (SymbolRef Sym = MCall->getCXXThisVal().getAsLocSymbol()) { in checkSummary()
664 ErrorRange = MCall->getOriginExpr()->getSourceRange(); in checkSummary()