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 | 638 ConsumedState ExpectedState = mapParamTypestateAttrState(PTA); in handleCall() local 640 if (ParamState != ExpectedState) in handleCall() 643 stateToString(ExpectedState), stateToString(ParamState)); in handleCall() 893 ConsumedState ExpectedState = Analyzer.getExpectedReturnState(); in VisitReturnStmt() local 895 if (ExpectedState != CS_None) { in VisitReturnStmt() 901 if (RetState != ExpectedState) in VisitReturnStmt() 903 Ret->getReturnLoc(), stateToString(ExpectedState), in VisitReturnStmt() 1132 ConsumedState ExpectedState = mapReturnTypestateAttrState(RTA); in checkParamsForReturnTypestate() local 1133 if (DM.second != ExpectedState) in checkParamsForReturnTypestate() 1135 Param->getNameAsString(), stateToString(ExpectedState), in checkParamsForReturnTypestate()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 1770 StringRef ExpectedState, in warnParamReturnTypestateMismatch() argument 1775 ExpectedState << ObservedState); in warnParamReturnTypestateMismatch() 1780 void warnParamTypestateMismatch(SourceLocation Loc, StringRef ExpectedState, in warnParamTypestateMismatch() argument 1784 diag::warn_param_typestate_mismatch) << ExpectedState << ObservedState); in warnParamTypestateMismatch() 1797 void warnReturnTypestateMismatch(SourceLocation Loc, StringRef ExpectedState, in warnReturnTypestateMismatch() argument 1801 diag::warn_return_typestate_mismatch) << ExpectedState << ObservedState); in warnReturnTypestateMismatch()
|