Home
last modified time | relevance | path

Searched refs:ConsumedState (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Analysis/
DConsumed.cpp99 static ConsumedState invertConsumedUnconsumed(ConsumedState State) { in invertConsumedUnconsumed()
114 ConsumedState State) { in isCallableInState()
117 ConsumedState MappedAttrState = CS_None; in isCallableInState()
168 static bool isKnownState(ConsumedState State) { in isKnownState()
192 static ConsumedState mapConsumableAttrState(const QualType QT) { in mapConsumableAttrState()
209 static ConsumedState
222 static ConsumedState
235 static ConsumedState mapSetTypestateAttrState(const SetTypestateAttr *STAttr) { in mapSetTypestateAttrState()
247 static StringRef stateToString(ConsumedState State) { in stateToString()
264 static ConsumedState testsFor(const FunctionDecl *FunDecl) { in testsFor()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DConsumed.h28 enum ConsumedState { enum
133 typedef llvm::DenseMap<const VarDecl *, ConsumedState> VarMapType;
134 typedef llvm::DenseMap<const CXXBindTemporaryExpr *, ConsumedState>
159 ConsumedState getState(const VarDecl *Var) const;
162 ConsumedState getState(const CXXBindTemporaryExpr *Tmp) const;
183 void setState(const VarDecl *Var, ConsumedState State);
186 void setState(const CXXBindTemporaryExpr *Tmp, ConsumedState State);
243 ConsumedState ExpectedReturnState;
257 ConsumedState getExpectedReturnState() const { return ExpectedReturnState; } in getExpectedReturnState()
/external/clang/include/clang/Basic/
DAttr.td1983 let Args = [EnumArgument<"DefaultState", "ConsumedState",
2004 let Args = [VariadicEnumArgument<"CallableStates", "ConsumedState",
2013 let Args = [EnumArgument<"ParamState", "ConsumedState",
2022 let Args = [EnumArgument<"State", "ConsumedState",
2031 let Args = [EnumArgument<"NewState", "ConsumedState",
2040 let Args = [EnumArgument<"TestState", "ConsumedState",
/external/clang/lib/Sema/
DSemaDeclAttr.cpp875 ConsumableAttr::ConsumedState DefaultState; in handleConsumableAttr()
921 SmallVector<CallableWhenAttr::ConsumedState, 3> States; in handleCallableWhenAttr()
923 CallableWhenAttr::ConsumedState CallableState; in handleCallableWhenAttr()
953 ParamTypestateAttr::ConsumedState ParamState; in handleParamTypestateAttr()
990 ReturnTypestateAttr::ConsumedState ReturnState; in handleReturnTypestateAttr()
1040 SetTypestateAttr::ConsumedState NewState; in handleSetTypestateAttr()
1065 TestTypestateAttr::ConsumedState TestState; in handleTestTypestateAttr()