Home | History | Annotate | Download | only in Checkers

Lines Matching defs:Leak

89     ErrorLeak,  // A memory leak due to excessive reference counts.
90 ErrorLeakReturned, // A memory leak due to the returning method not having
1682 class Leak : public CFRefBug {
1684 Leak(const CheckerBase *checker, StringRef name) : CFRefBug(checker, name) {
2129 // the leak. The function can also return a location context, which should be
2198 // If we are reporting a leak of the object that was allocated with alloc,
2209 // If allocation happened in a function different from the leak node context,
2238 // We are reporting a leak. Walk up the graph to get to the first node where
2249 // Compute an actual location for the leak. Sometimes a leak doesn't
2350 // We are going to get a BlockEdge when the leak and allocation happen in
2378 os << "Potential leak ";
2431 /// Optional setting to indicate if leak reports should include
2484 leakWithinFunctionGC.reset(new Leak(this, "Leak of object when using "
2490 leakWithinFunction.reset(new Leak(this,
2491 "Leak of object when not using "
2495 leakWithinFunction.reset(new Leak(this, "Leak"));
2505 leakAtReturnGC.reset(new Leak(this,
2506 "Leak of returned object when using "
2512 leakAtReturn.reset(new Leak(this,
2513 "Leak of returned object when not using "
2517 leakAtReturn.reset(new Leak(this, "Leak of returned object"));
3399 // a leak (as the caller expects a GC'ed object) because no
3492 // with (__attribute__((cleanup))), stop tracking the value to avoid leak
3663 // Generate an intermediate node representing the leak point.