Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp698 const Expr *AllocExpr = nullptr) const;
2027 const Expr *AllocExpr = cast<Expr>(RsBase->getStmt()); in FreeMemAux() local
2029 Family, AllocExpr); in FreeMemAux()
2302 const Expr *AllocExpr = cast<Expr>(RS->getStmt()); in HandleMismatchedDealloc() local
2316 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc()
2320 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc()
2342 const Expr *AllocExpr) const { in HandleOffsetFree()
2385 if (AllocExpr && printMemFnName(AllocNameOs, C, AllocExpr)) in HandleOffsetFree()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5876 if (const CXXNewExpr *AllocExpr = E.castAs<CFGNewAllocator>().getAllocatorExpr()) in print_elem() local
5877 AllocExpr->getType().print(OS, PrintingPolicy(Helper.getLangOpts())); in print_elem()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp785 const Expr *AllocExpr = nullptr; member
796 if (auto *NE = dyn_cast<CXXNewExpr>(AllocExpr)) in getKind()
798 assert(isa<CallExpr>(AllocExpr)); in getKind()
1959 Result.first->second.AllocExpr = E; in createHeapAlloc()
2178 Info.Note((*Alloc)->AllocExpr->getExprLoc(), in NoteLValueLocation()
2550 Info.CCEDiag(Info.HeapAllocs.begin()->second.AllocExpr, in CheckMemoryLeaks()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11355 const Expr *AllocExpr; in getAddressOfLocalVariable() member in CGOpenMPRuntime::getAddressOfLocalVariable::OMPAllocateCleanupTy
11360 const Expr *AllocExpr) in getAddressOfLocalVariable() argument
11362 AllocExpr(AllocExpr) {} in getAddressOfLocalVariable()
11371 llvm::Value *AllocVal = getAllocatorVal(CGF, AllocExpr); in getAddressOfLocalVariable()