Home
last modified time | relevance | path

Searched defs:RegionState (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMoveChecker.cpp30 struct RegionState { struct
32 enum Kind { Moved, Reported } K;
33 RegionState(Kind InK) : K(InK) {} in RegionState() function
36 bool isReported() const { return K == Reported; } in isReported()
37 bool isMoved() const { return K == Moved; } in isMoved()
39 static RegionState getReported() { return RegionState(Reported); } in getReported()
40 static RegionState getMoved() { return RegionState(Moved); } in getMoved()
42 bool operator==(const RegionState &X) const { return K == X.K; } in operator ==()
43 void Profile(llvm::FoldingSetNodeID &ID) const { ID.AddInteger(K); } in Profile()
DPointerArithChecker.cpp74 REGISTER_MAP_WITH_PROGRAMSTATE(RegionState, const MemRegion *, AllocKind) in REGISTER_MAP_WITH_PROGRAMSTATE() argument
/external/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp76 REGISTER_MAP_WITH_PROGRAMSTATE(RegionState, const MemRegion *, AllocKind) in REGISTER_MAP_WITH_PROGRAMSTATE() argument