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.cpp334 unsigned ExpectedState = 1; local
335 ASSERT_EQ(ExpectedState, Parameters.State);
346 unsigned ExpectedState = 0; local
347 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),
1137 ConsumedState ExpectedState = mapReturnTypestateAttrState(RTA); local
1138 if (DM.second != ExpectedState)
1140 Param->getNameAsString(), stateToString(ExpectedState),
[all...]

Completed in 234 milliseconds