|
clang 24.0.0git
|
ExplodedNodeSet is a set of ExplodedNode * elements with the invariant that its elements cannot be nullpointers or sink nodes. More...
#include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
Public Types | |
| using | iterator = ImplTy::iterator |
| using | const_iterator = ImplTy::const_iterator |
Public Member Functions | |
| ExplodedNodeSet (ExplodedNode *N) | |
| ExplodedNodeSet ()=default | |
| unsigned | size () const |
| bool | empty () const |
| bool | erase (ExplodedNode *N) |
| void | clear () |
| void | insert (ExplodedNode *N) |
| void | insert (const ExplodedNodeSet &S) |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
ExplodedNodeSet is a set of ExplodedNode * elements with the invariant that its elements cannot be nullpointers or sink nodes.
Insertion of null or sink nodes is silently ignored (which is comfortable in many use cases). Note that ExplodedNode * is implicitly convertible to an ExplodedNodeSet containing 0 or 1 elements (where null pointers and sink nodes converted to the empty set). This type has set semantics (repeated insertions are ignored), but the iteration order is always the order of (first) insertion.
Definition at line 446 of file ExplodedGraph.h.
| using clang::ento::ExplodedNodeSet::const_iterator = ImplTy::const_iterator |
Definition at line 456 of file ExplodedGraph.h.
| using clang::ento::ExplodedNodeSet::iterator = ImplTy::iterator |
Definition at line 455 of file ExplodedGraph.h.
|
inline |
|
default |
|
inline |
Definition at line 478 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::VisitDeclStmt().
|
inline |
Definition at line 481 of file ExplodedGraph.h.
|
inline |
Definition at line 462 of file ExplodedGraph.h.
Referenced by expandGraphWithCheckers().
|
inline |
Definition at line 459 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::evalLoad(), clang::ento::ExprEngine::evalStore(), expandGraphWithCheckers(), insert(), and clang::ento::ExprEngine::processBranch().
|
inline |
Definition at line 479 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::VisitDeclStmt().
|
inline |
Definition at line 482 of file ExplodedGraph.h.
|
inline |
Definition at line 460 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::VisitCXXNewExpr().
|
inline |
Definition at line 469 of file ExplodedGraph.h.
References empty(), and ExplodedNodeSet().
|
inline |
Definition at line 464 of file ExplodedGraph.h.
References clang::ento::ExplodedNode::isSink().
Referenced by clang::ento::ExprEngine::ConstructInitList(), clang::ento::ExprEngine::defaultEvalCall(), clang::ento::ExprEngine::evalCall(), clang::ento::ExprEngine::evalLoad(), expandGraphWithCheckers(), ExplodedNodeSet(), clang::ento::ExprEngine::handleLValueBitCast(), clang::ento::ExprEngine::populateObjCForDestinationSet(), clang::ento::ExprEngine::processBranch(), clang::ento::ExprEngine::processCallExit(), clang::ento::ExprEngine::processCleanupTemporaryBranch(), clang::ento::ExprEngine::ProcessDeleteDtor(), clang::ento::ExprEngine::processIndirectGoto(), clang::ento::ExprEngine::ProcessInitializer(), clang::ento::ExprEngine::ProcessNewAllocator(), clang::ento::ExprEngine::ProcessStmt(), clang::ento::ExprEngine::processSwitch(), clang::ento::ExprEngine::ProcessTemporaryDtor(), REGISTER_MAP_WITH_PROGRAMSTATE(), REGISTER_TRAIT_WITH_PROGRAMSTATE(), REGISTER_TRAIT_WITH_PROGRAMSTATE(), clang::ento::ExprEngine::removeDeadOnEndOfFunction(), clang::ento::CheckerManager::runCheckersForBeginFunction(), clang::ento::CheckerManager::runCheckersForBranchCondition(), clang::ento::CheckerManager::runCheckersForEndFunction(), clang::ento::CheckerManager::runCheckersForEvalCall(), clang::ento::CheckerManager::runCheckersForNewAllocator(), clang::ento::ExprEngine::Visit(), clang::ento::ExprEngine::VisitArrayInitLoopExpr(), clang::ento::ExprEngine::VisitArraySubscriptExpr(), clang::ento::ExprEngine::VisitAtomicExpr(), clang::ento::ExprEngine::VisitAttributedStmt(), clang::ento::ExprEngine::VisitBinaryOperator(), clang::ento::ExprEngine::VisitBlockExpr(), clang::ento::ExprEngine::VisitCastExpr(), clang::ento::ExprEngine::VisitCommonDeclRefExpr(), clang::ento::ExprEngine::VisitCompoundLiteralExpr(), clang::ento::ExprEngine::VisitCXXBindTemporaryExpr(), clang::ento::ExprEngine::VisitCXXCatchStmt(), clang::ento::ExprEngine::VisitCXXDestructor(), clang::ento::ExprEngine::VisitCXXNewAllocatorCall(), clang::ento::ExprEngine::VisitCXXNewExpr(), clang::ento::ExprEngine::VisitCXXThisExpr(), clang::ento::ExprEngine::VisitDeclStmt(), clang::ento::ExprEngine::VisitGCCAsmStmt(), clang::ento::ExprEngine::VisitGuardedExpr(), clang::ento::ExprEngine::VisitIncrementDecrementOperator(), clang::ento::ExprEngine::VisitLogicalExpr(), clang::ento::ExprEngine::VisitLvalObjCIvarRefExpr(), clang::ento::ExprEngine::VisitMaterializeTemporaryExpr(), clang::ento::ExprEngine::VisitMemberExpr(), clang::ento::ExprEngine::VisitMSAsmStmt(), clang::ento::ExprEngine::VisitObjCForCollectionStmt(), clang::ento::ExprEngine::VisitObjCIndirectCopyRestoreExpr(), clang::ento::ExprEngine::VisitOffsetOfExpr(), clang::ento::ExprEngine::VisitPseudoObjectExpr(), clang::ento::ExprEngine::VisitReturnStmt(), clang::ento::ExprEngine::VisitStmtExpr(), clang::ento::ExprEngine::VisitUnaryExprOrTypeTraitExpr(), and clang::ento::ExprEngine::VisitUnaryOperator().
|
inline |
Definition at line 458 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::VisitCXXNewExpr().