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.cpp732 const Expr *AllocExpr = nullptr) const;
2075 const Expr *AllocExpr = cast<Expr>(RsBase->getStmt()); in FreeMemAux() local
2077 Family, AllocExpr); in FreeMemAux()
2350 const Expr *AllocExpr = cast<Expr>(RS->getStmt()); in HandleMismatchedDealloc() local
2364 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc()
2368 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc()
2390 const Expr *AllocExpr) const { in HandleOffsetFree()
2433 if (AllocExpr && printMemFnName(AllocNameOs, C, AllocExpr)) in HandleOffsetFree()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5873 if (const CXXNewExpr *AllocExpr = E.castAs<CFGNewAllocator>().getAllocatorExpr()) in print_elem() local
5874 AllocExpr->getType().print(OS, PrintingPolicy(Helper.getLangOpts())); in print_elem()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp790 const Expr *AllocExpr = nullptr; member
801 if (auto *NE = dyn_cast<CXXNewExpr>(AllocExpr)) in getKind()
803 assert(isa<CallExpr>(AllocExpr)); in getKind()
1965 Result.first->second.AllocExpr = E; in createHeapAlloc()
2185 Info.Note((*Alloc)->AllocExpr->getExprLoc(), in NoteLValueLocation()
2557 Info.CCEDiag(Info.HeapAllocs.begin()->second.AllocExpr, in CheckMemoryLeaks()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11384 const Expr *AllocExpr; in getAddressOfLocalVariable() member in CGOpenMPRuntime::getAddressOfLocalVariable::OMPAllocateCleanupTy
11389 const Expr *AllocExpr) in getAddressOfLocalVariable() argument
11391 AllocExpr(AllocExpr) {} in getAddressOfLocalVariable()
11400 llvm::Value *AllocVal = getAllocatorVal(CGF, AllocExpr); in getAddressOfLocalVariable()