Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp698 const Expr *AllocExpr = nullptr) const;
2022 const Expr *AllocExpr = cast<Expr>(RsBase->getStmt()); in FreeMemAux() local
2024 Family, AllocExpr); in FreeMemAux()
2297 const Expr *AllocExpr = cast<Expr>(RS->getStmt()); in HandleMismatchedDealloc() local
2311 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc()
2315 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc()
2337 const Expr *AllocExpr) const { in HandleOffsetFree()
2380 if (AllocExpr && printMemFnName(AllocNameOs, C, AllocExpr)) in HandleOffsetFree()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp5861 if (const CXXNewExpr *AllocExpr = E.castAs<CFGNewAllocator>().getAllocatorExpr()) in print_elem() local
5862 AllocExpr->getType().print(OS, PrintingPolicy(Helper.getLangOpts())); in print_elem()
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp762 const Expr *AllocExpr = nullptr; member
773 if (auto *NE = dyn_cast<CXXNewExpr>(AllocExpr)) in getKind()
775 assert(isa<CallExpr>(AllocExpr)); in getKind()
1905 Result.first->second.AllocExpr = E; in createHeapAlloc()
2102 Info.Note((*Alloc)->AllocExpr->getExprLoc(), in NoteLValueLocation()
2463 Info.CCEDiag(Info.HeapAllocs.begin()->second.AllocExpr, in CheckMemoryLeaks()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11816 const Expr *AllocExpr; in getAddressOfLocalVariable() member in CGOpenMPRuntime::getAddressOfLocalVariable::OMPAllocateCleanupTy
11821 const Expr *AllocExpr) in getAddressOfLocalVariable() argument
11823 AllocExpr(AllocExpr) {} in getAddressOfLocalVariable()
11832 llvm::Value *AllocVal = getAllocatorVal(CGF, AllocExpr); in getAddressOfLocalVariable()