Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp835 const Expr *AllocExpr = nullptr) const;
2327 const Expr *AllocExpr = cast<Expr>(RsBase->getStmt()); in FreeMemAux() local
2329 Family, AllocExpr); in FreeMemAux()
2590 const Expr *AllocExpr = cast<Expr>(RS->getStmt()); in HandleMismatchedDealloc() local
2604 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc()
2608 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc()
2632 const Expr *AllocExpr) const { in HandleOffsetFree()
2669 if (AllocExpr && printMemFnName(AllocNameOs, C, AllocExpr)) in HandleOffsetFree()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5986 if (const CXXNewExpr *AllocExpr = E.castAs<CFGNewAllocator>().getAllocatorExpr()) in print_elem() local
5987 AllocExpr->getType().print(OS, PrintingPolicy(Helper.getLangOpts())); in print_elem()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11451 const Expr *AllocExpr; in getAddressOfLocalVariable() member in CGOpenMPRuntime::getAddressOfLocalVariable::OMPAllocateCleanupTy
11456 const Expr *AllocExpr) in getAddressOfLocalVariable() argument
11458 AllocExpr(AllocExpr) {} in getAddressOfLocalVariable()
11467 llvm::Value *AllocVal = getAllocatorVal(CGF, AllocExpr); in getAddressOfLocalVariable()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp809 const Expr *AllocExpr = nullptr; member
820 if (auto *NE = dyn_cast<CXXNewExpr>(AllocExpr)) in getKind()
822 assert(isa<CallExpr>(AllocExpr)); in getKind()
2002 Result.first->second.AllocExpr = E; in createHeapAlloc()
2313 Info.Note((*Alloc)->AllocExpr->getExprLoc(), in NoteLValueLocation()
2699 Info.CCEDiag(Info.HeapAllocs.begin()->second.AllocExpr, in CheckMemoryLeaks()