Home
last modified time | relevance | path

Searched refs:ExpectedState (Results 1 – 4 of 4) sorted by relevance

/external/clang/include/clang/Analysis/Analyses/
DConsumed.h73 StringRef ExpectedState, in warnParamReturnTypestateMismatch() argument
78 StringRef ExpectedState, in warnParamTypestateMismatch() argument
101 StringRef ExpectedState, in warnReturnTypestateMismatch() argument
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp337 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/
DConsumed.cpp632 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/
DAnalysisBasedWarnings.cpp1650 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()