Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp26 enum class AllocKind { enum
35 template <> struct FoldingSetTrait<AllocKind> {
36 static inline void Profile(AllocKind X, FoldingSetNodeID &ID) { in Profile()
49 AllocKind getKindOfNewOp(const CXXNewExpr *NE, const FunctionDecl *FD) const;
51 AllocKind &AKind, CheckerContext &C) const;
74 REGISTER_MAP_WITH_PROGRAMSTATE(RegionState, const MemRegion *, AllocKind) in REGISTER_MAP_WITH_PROGRAMSTATE() argument
90 AllocKind PointerArithChecker::getKindOfNewOp(const CXXNewExpr *NE, in getKindOfNewOp()
95 return AllocKind::Unknown; in getKindOfNewOp()
97 return AllocKind::Unknown; in getKindOfNewOp()
99 return AllocKind::Array; in getKindOfNewOp()
[all …]
/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/llvm-project/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()
1007 AllocKind kind() const { return static_cast<AllocKind>(Flags); } in kind()
/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()
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp2585 uint64_t AllocKind) { in CreateDeserialized() argument
2586 bool hasTraillingExplicit = static_cast<bool>(AllocKind & TAKHasTailExplicit); in CreateDeserialized()
2588 static_cast<bool>(AllocKind & TAKInheritsConstructor); in CreateDeserialized()
/external/llvm-project/clang/include/clang/AST/
DDeclCXX.h2432 uint64_t AllocKind);