clang 20.0.0git
Namespaces | Functions
SmartPtr.h File Reference
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::ento
 
namespace  clang::ento::smartptr
 

Functions

bool clang::ento::smartptr::isStdSmartPtrCall (const CallEvent &Call)
 Returns true if the event call is on smart pointer.
 
bool clang::ento::smartptr::isStdSmartPtr (const CXXRecordDecl *RD)
 
bool clang::ento::smartptr::isStdSmartPtr (const Expr *E)
 
bool clang::ento::smartptr::isNullSmartPtr (const ProgramStateRef State, const MemRegion *ThisRegion)
 Returns whether the smart pointer is null or not.
 
const BugTypeclang::ento::smartptr::getNullDereferenceBugType ()