Searched refs:AllocExpr (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocChecker.cpp | 697 const Expr *AllocExpr = nullptr) const; 1821 const Expr *AllocExpr = cast<Expr>(RsBase->getStmt()); in FreeMemAux() local 1823 Family, AllocExpr); in FreeMemAux() 2094 const Expr *AllocExpr = cast<Expr>(RS->getStmt()); in HandleMismatchedDealloc() local 2108 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc() 2112 if (printMemFnName(AllocOs, C, AllocExpr)) in HandleMismatchedDealloc() 2134 const Expr *AllocExpr) const { in HandleOffsetFree() 2177 if (AllocExpr && printMemFnName(AllocNameOs, C, AllocExpr)) in HandleOffsetFree()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | CFG.cpp | 5570 if (const CXXNewExpr *AllocExpr = E.castAs<CFGNewAllocator>().getAllocatorExpr()) in print_elem() local 5571 AllocExpr->getType().print(OS, PrintingPolicy(Helper.getLangOpts())); in print_elem()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 754 const Expr *AllocExpr = nullptr; member 765 if (auto *NE = dyn_cast<CXXNewExpr>(AllocExpr)) in getKind() 767 assert(isa<CallExpr>(AllocExpr)); in getKind() 1904 Result.first->second.AllocExpr = E; in createHeapAlloc() 2095 Info.Note((*Alloc)->AllocExpr->getExprLoc(), in NoteLValueLocation() 2445 Info.CCEDiag(Info.HeapAllocs.begin()->second.AllocExpr, in CheckMemoryLeaks()
|