|
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 451 of file ExplodedGraph.h.
| using clang::ento::ExplodedNodeSet::const_iterator = ImplTy::const_iterator |
Definition at line 461 of file ExplodedGraph.h.
| using clang::ento::ExplodedNodeSet::iterator = ImplTy::iterator |
Definition at line 460 of file ExplodedGraph.h.
|
inline |
|
default |
|
inline |
Definition at line 483 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::ProcessTemporaryDtor(), clang::ento::ExprEngine::VisitBinaryOperator(), clang::ento::ExprEngine::VisitCXXNewExpr(), clang::ento::ExprEngine::VisitDeclStmt(), clang::ento::ExprEngine::VisitObjCMessage(), and clang::ento::ExprEngine::VisitReturnStmt().
|
inline |
Definition at line 486 of file ExplodedGraph.h.
|
inline |
Definition at line 467 of file ExplodedGraph.h.
Referenced by expandGraphWithCheckers().
|
inline |
Definition at line 464 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::evalLoad(), clang::ento::ExprEngine::evalStore(), expandGraphWithCheckers(), insert(), clang::ento::ExprEngine::processBranch(), and clang::ento::ExprEngine::ProcessTemporaryDtor().
|
inline |
Definition at line 484 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 487 of file ExplodedGraph.h.
|
inline |
Definition at line 465 of file ExplodedGraph.h.
|
inline |
Definition at line 474 of file ExplodedGraph.h.
References empty(), and ExplodedNodeSet().
|
inline |
Definition at line 469 of file ExplodedGraph.h.
References clang::ento::ExplodedNode::isSink().
Referenced by clang::ento::ExprEngine::evalCall(), expandGraphWithCheckers(), ExplodedNodeSet(), clang::ento::ExprEngine::processCallExit(), clang::ento::ExprEngine::processIndirectGoto(), clang::ento::ExprEngine::ProcessInitializer(), clang::ento::ExprEngine::ProcessNewAllocator(), clang::ento::ExprEngine::ProcessStmt(), clang::ento::ExprEngine::removeDeadOnEndOfFunction(), clang::ento::CheckerManager::runCheckersForBeginFunction(), clang::ento::CheckerManager::runCheckersForBranchCondition(), clang::ento::CheckerManager::runCheckersForEvalCall(), clang::ento::CheckerManager::runCheckersForNewAllocator(), clang::ento::ExprEngine::VisitCXXCatchStmt(), clang::ento::ExprEngine::VisitDeclStmt(), and clang::ento::ExprEngine::VisitIncrementDecrementOperator().
|
inline |
Definition at line 463 of file ExplodedGraph.h.
Referenced by clang::ento::ExprEngine::ProcessTemporaryDtor(), and clang::ento::ExprEngine::VisitCXXNewExpr().