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);
238 ConsumedState ExpectedReturnState;
253 ConsumedState getExpectedReturnState() const { return ExpectedReturnState; } in getExpectedReturnState()
/external/clang/include/clang/Basic/
DAttr.td1688 let Args = [EnumArgument<"DefaultState", "ConsumedState",
1709 let Args = [VariadicEnumArgument<"CallableStates", "ConsumedState",
1718 let Args = [EnumArgument<"ParamState", "ConsumedState",
1727 let Args = [EnumArgument<"State", "ConsumedState",
1736 let Args = [EnumArgument<"NewState", "ConsumedState",
1745 let Args = [EnumArgument<"TestState", "ConsumedState",
/external/clang/lib/Sema/
DSemaDeclAttr.cpp815 ConsumableAttr::ConsumedState DefaultState; in handleConsumableAttr()
863 SmallVector<CallableWhenAttr::ConsumedState, 3> States; in handleCallableWhenAttr()
865 CallableWhenAttr::ConsumedState CallableState; in handleCallableWhenAttr()
896 ParamTypestateAttr::ConsumedState ParamState; in handleParamTypestateAttr()
934 ReturnTypestateAttr::ConsumedState ReturnState; in handleReturnTypestateAttr()
985 SetTypestateAttr::ConsumedState NewState; in handleSetTypestateAttr()
1010 TestTypestateAttr::ConsumedState TestState; in handleTestTypestateAttr()