Cppcheck
|
#include <analyzer.h>
Public Types | |
enum | { None = 0 , Read = (1 << 0) , Write = (1 << 1) , Invalid = (1 << 2) , Inconclusive = (1 << 3) , Match = (1 << 4) , Idempotent = (1 << 5) , Incremental = (1 << 6) , SymbolicMatch = (1 << 7) , Internal = (1 << 8) } |
Public Member Functions | |
Action ()=default | |
Action (const Action &)=default | |
Action & | operator= (const Action &rhs)=default |
template<class T , REQUIRES("T must be convertible to unsigned int", std::is_convertible< T, unsigned int >) , REQUIRES("T must not be a bool", !std::is_same< T, bool >) > | |
Action (T f) | |
void | set (unsigned int f, bool state=true) |
bool | get (unsigned int f) const |
bool | isRead () const |
bool | isWrite () const |
bool | isInvalid () const |
bool | isInconclusive () const |
bool | isNone () const |
bool | isModified () const |
bool | isIdempotent () const |
bool | isIncremental () const |
bool | isSymbolicMatch () const |
bool | isInternal () const |
bool | matches () const |
Action & | operator|= (Action a) |
Private Attributes | |
unsigned int | mFlag {} |
Friends | |
Action | operator| (Action a, Action b) |
bool | operator== (Action a, Action b) |
bool | operator!= (Action a, Action b) |
Definition at line 33 of file analyzer.h.
anonymous enum |
Enumerator | |
---|---|
None | |
Read | |
Write | |
Invalid | |
Inconclusive | |
Match | |
Idempotent | |
Incremental | |
SymbolicMatch | |
Internal |
Definition at line 46 of file analyzer.h.
|
default |
|
default |
|
inline |
Definition at line 43 of file analyzer.h.
|
inline |
Definition at line 63 of file analyzer.h.
References mFlag.
Referenced by isIdempotent(), isInconclusive(), isIncremental(), isInternal(), isInvalid(), isRead(), isSymbolicMatch(), isWrite(), and matches().
|
inline |
Definition at line 91 of file analyzer.h.
References get(), and Idempotent.
|
inline |
Definition at line 79 of file analyzer.h.
References get(), and Inconclusive.
Referenced by ValueFlowAnalyzer::analyzeToken(), and ValueFlowAnalyzer::update().
|
inline |
Definition at line 95 of file analyzer.h.
References get(), and Incremental.
|
inline |
Definition at line 103 of file analyzer.h.
References get(), and Internal.
Referenced by ValueFlowAnalyzer::update().
|
inline |
Definition at line 75 of file analyzer.h.
References get(), and Invalid.
Referenced by isModified().
|
inline |
Definition at line 87 of file analyzer.h.
References isInvalid(), and isWrite().
Referenced by ConditionHandler::afterCondition(), ValueFlowAnalyzer::analyzeToken(), and valueFlowForLoop().
|
inline |
Definition at line 83 of file analyzer.h.
|
inline |
Definition at line 67 of file analyzer.h.
Referenced by ValueFlowAnalyzer::analyzeToken(), and ValueFlowAnalyzer::update().
|
inline |
Definition at line 99 of file analyzer.h.
References get(), and SymbolicMatch.
Referenced by ValueFlowAnalyzer::update().
|
inline |
Definition at line 71 of file analyzer.h.
Referenced by isModified(), and ValueFlowAnalyzer::update().
|
inline |
Definition at line 107 of file analyzer.h.
Referenced by ValueFlowAnalyzer::analyzeToken().
Definition at line 111 of file analyzer.h.
|
inline |
Definition at line 125 of file analyzer.h.
Definition at line 121 of file analyzer.h.
Definition at line 116 of file analyzer.h.
|
private |
Definition at line 130 of file analyzer.h.
Referenced by get(), isNone(), operator|=(), and set().