Searched defs:ExpectedState (Results 1 - 3 of 3) sorted by relevance

/external/clang/include/clang/Analysis/Analyses/
H A DConsumed.h66 /// \param ExpectedState -- The state the return value was expected to be
73 StringRef ExpectedState,
78 StringRef ExpectedState,
95 /// \param ExpectedState -- The state the return value was expected to be
101 StringRef ExpectedState,
71 warnParamReturnTypestateMismatch(SourceLocation Loc, StringRef VariableName, StringRef ExpectedState, StringRef ObservedState) argument
77 warnParamTypestateMismatch(SourceLocation LOC, StringRef ExpectedState, StringRef ObservedState) argument
100 warnReturnTypestateMismatch(SourceLocation Loc, StringRef ExpectedState, StringRef ObservedState) argument
/external/clang/unittests/Lex/
H A DPPCallbacksTest.cpp337 unsigned ExpectedState = 1; local
338 ASSERT_EQ(ExpectedState, Parameters.State);
349 unsigned ExpectedState = 0; local
350 ASSERT_EQ(ExpectedState, Parameters.State);
/external/clang/lib/Analysis/
H A DConsumed.cpp632 ConsumedState ExpectedState = mapParamTypestateAttrState(PTA); local
634 if (ParamState != ExpectedState)
637 stateToString(ExpectedState), stateToString(ParamState));
887 ConsumedState ExpectedState = Analyzer.getExpectedReturnState(); local
889 if (ExpectedState != CS_None) {
895 if (RetState != ExpectedState)
897 Ret->getReturnLoc(), stateToString(ExpectedState),
1138 ConsumedState ExpectedState = mapReturnTypestateAttrState(RTA); local
1139 if (DM.second != ExpectedState)
1141 Param->getNameAsString(), stateToString(ExpectedState),
[all...]

Completed in 135 milliseconds