Searched refs:ExpectedState (Results 1 – 4 of 4) sorted by relevance
/external/clang/include/clang/Analysis/Analyses/ |
D | Consumed.h | 73 StringRef ExpectedState, in warnParamReturnTypestateMismatch() argument 78 StringRef ExpectedState, in warnParamTypestateMismatch() argument 101 StringRef ExpectedState, in warnReturnTypestateMismatch() argument
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 335 unsigned ExpectedState = 1; in TEST_F() local 336 ASSERT_EQ(ExpectedState, Parameters.State); in TEST_F() 347 unsigned ExpectedState = 0; in TEST_F() local 348 ASSERT_EQ(ExpectedState, Parameters.State); in TEST_F()
|
/external/clang/lib/Analysis/ |
D | Consumed.cpp | 632 ConsumedState ExpectedState = mapParamTypestateAttrState(PTA); in handleCall() local 634 if (ParamState != ExpectedState) in handleCall() 637 stateToString(ExpectedState), stateToString(ParamState)); in handleCall() 887 ConsumedState ExpectedState = Analyzer.getExpectedReturnState(); in VisitReturnStmt() local 889 if (ExpectedState != CS_None) { in VisitReturnStmt() 895 if (RetState != ExpectedState) in VisitReturnStmt() 897 Ret->getReturnLoc(), stateToString(ExpectedState), in VisitReturnStmt() 1126 ConsumedState ExpectedState = mapReturnTypestateAttrState(RTA); in checkParamsForReturnTypestate() local 1127 if (DM.second != ExpectedState) in checkParamsForReturnTypestate() 1129 Param->getNameAsString(), stateToString(ExpectedState), in checkParamsForReturnTypestate()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 1744 StringRef ExpectedState, in warnParamReturnTypestateMismatch() argument 1749 ExpectedState << ObservedState); in warnParamReturnTypestateMismatch() 1754 void warnParamTypestateMismatch(SourceLocation Loc, StringRef ExpectedState, in warnParamTypestateMismatch() argument 1758 diag::warn_param_typestate_mismatch) << ExpectedState << ObservedState); in warnParamTypestateMismatch() 1771 void warnReturnTypestateMismatch(SourceLocation Loc, StringRef ExpectedState, in warnReturnTypestateMismatch() argument 1775 diag::warn_return_typestate_mismatch) << ExpectedState << ObservedState); in warnReturnTypestateMismatch()
|