Home
last modified time | relevance | path

Searched refs:AllocKind (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp28 enum class AllocKind { enum
37 template <> struct FoldingSetTrait<AllocKind> {
38 static inline void Profile(AllocKind X, FoldingSetNodeID &ID) { in Profile()
51 AllocKind getKindOfNewOp(const CXXNewExpr *NE, const FunctionDecl *FD) const;
53 AllocKind &AKind, CheckerContext &C) const;
76 REGISTER_MAP_WITH_PROGRAMSTATE(RegionState, const MemRegion *, AllocKind) in REGISTER_MAP_WITH_PROGRAMSTATE() argument
92 AllocKind PointerArithChecker::getKindOfNewOp(const CXXNewExpr *NE, in getKindOfNewOp()
97 return AllocKind::Unknown; in getKindOfNewOp()
99 return AllocKind::Unknown; in getKindOfNewOp()
101 return AllocKind::Array; in getKindOfNewOp()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h997 enum AllocKind { enum
1002 Alloc(SExpr *D, AllocKind K) : SExpr(COP_Alloc), Dtype(D) { Flags = K; } in Alloc()
1005 AllocKind kind() const { return static_cast<AllocKind>(Flags); } in kind()