Lines Matching refs:checker
1 //=== MallocChecker.cpp - A malloc/free checker -------------------*- C++ -*--//
10 // This file defines malloc/free checker, which checks for potential memory
165 /// In pessimistic mode, the checker assumes that it does not know which
306 /// not handled by this checker.
319 /// Tells if a given family/call/symbol is tracked by the current checker.
320 /// Sets CheckKind to the kind of the checker responsible for this
1746 // Special case for new and new[]; these are controlled by a separate checker
1928 // Scan the BlockDecRefExprs for any object the retain count checker
2167 // but the Malloc checker cannot differentiate between them. The right way
2373 MallocChecker *checker = mgr.registerChecker<MallocChecker>();
2374 checker->ChecksEnabled[MallocChecker::CK_NewDeleteLeaksChecker] = true;
2375 checker->CheckNames[MallocChecker::CK_NewDeleteLeaksChecker] =
2377 // We currently treat NewDeleteLeaks checker as a subchecker of NewDelete
2378 // checker.
2379 if (!checker->ChecksEnabled[MallocChecker::CK_NewDeleteChecker])
2380 checker->ChecksEnabled[MallocChecker::CK_NewDeleteChecker] = true;
2386 MallocChecker *checker = mgr.registerChecker<MallocChecker>(); \
2387 checker->ChecksEnabled[MallocChecker::CK_##name] = true; \
2388 checker->CheckNames[MallocChecker::CK_##name] = mgr.getCurrentCheckName(); \