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 | 337 unsigned ExpectedState = 1; in TEST_F() local 338 ASSERT_EQ(ExpectedState, Parameters.State); in TEST_F() 349 unsigned ExpectedState = 0; in TEST_F() local 350 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() 1138 ConsumedState ExpectedState = mapReturnTypestateAttrState(RTA); in checkParamsForReturnTypestate() local 1139 if (DM.second != ExpectedState) in checkParamsForReturnTypestate() 1141 Param->getNameAsString(), stateToString(ExpectedState), in checkParamsForReturnTypestate()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 1650 StringRef ExpectedState, in warnParamReturnTypestateMismatch() argument 1655 ExpectedState << ObservedState); in warnParamReturnTypestateMismatch() 1660 void warnParamTypestateMismatch(SourceLocation Loc, StringRef ExpectedState, in warnParamTypestateMismatch() argument 1664 diag::warn_param_typestate_mismatch) << ExpectedState << ObservedState); in warnParamTypestateMismatch() 1677 void warnReturnTypestateMismatch(SourceLocation Loc, StringRef ExpectedState, in warnReturnTypestateMismatch() argument 1681 diag::warn_return_typestate_mismatch) << ExpectedState << ObservedState); in warnReturnTypestateMismatch()
|