|
clang 23.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 445 of file ExplodedGraph.h.
| using clang::ento::ExplodedNodeSet::const_iterator = ImplTy::const_iterator |
Definition at line 455 of file ExplodedGraph.h.
| using clang::ento::ExplodedNodeSet::iterator = ImplTy::iterator |
Definition at line 454 of file ExplodedGraph.h.
|
inline |
|
default |
|
inline |
|
inline |
Definition at line 480 of file ExplodedGraph.h.
|
inline |
Definition at line 461 of file ExplodedGraph.h.
Referenced by expandGraphWithCheckers().
|
inline |
Definition at line 458 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 478 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::VisitBinaryOperator(), clang::ento::ExprEngine::VisitDeclStmt(), clang::ento::ExprEngine::VisitObjCMessage(), and clang::ento::ExprEngine::VisitReturnStmt().
|
inline |
Definition at line 481 of file ExplodedGraph.h.
|
inline |
Definition at line 459 of file ExplodedGraph.h.
|
inline |
Definition at line 468 of file ExplodedGraph.h.
References empty(), and ExplodedNodeSet().
|
inline |
Definition at line 463 of file ExplodedGraph.h.
References clang::ento::ExplodedNode::isSink().
Referenced by clang::ento::ExprEngine::evalCall(), expandGraphWithCheckers(), ExplodedNodeSet(), 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_TRAIT_WITH_PROGRAMSTATE(), clang::ento::ExprEngine::removeDeadOnEndOfFunction(), clang::ento::CheckerManager::runCheckersForBeginFunction(), clang::ento::CheckerManager::runCheckersForBranchCondition(), clang::ento::CheckerManager::runCheckersForEvalCall(), clang::ento::CheckerManager::runCheckersForNewAllocator(), clang::ento::ExprEngine::VisitArraySubscriptExpr(), clang::ento::ExprEngine::VisitCommonDeclRefExpr(), clang::ento::ExprEngine::VisitCXXCatchStmt(), clang::ento::ExprEngine::VisitDeclStmt(), and clang::ento::ExprEngine::VisitIncrementDecrementOperator().
|
inline |
Definition at line 457 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::VisitCXXNewExpr().