#include "clang/Analysis/Analyses/Consumed.h"
|
virtual | ~ConsumedWarningsHandlerBase () |
|
virtual void | emitDiagnostics () |
| Emit the warnings and notes left by the analysis.
|
|
virtual void | warnLoopStateMismatch (SourceLocation Loc, StringRef VariableName) |
| Warn that a variable's state doesn't match at the entry and exit of a loop.
|
|
virtual void | warnParamReturnTypestateMismatch (SourceLocation Loc, StringRef VariableName, StringRef ExpectedState, StringRef ObservedState) |
| Warn about parameter typestate mismatches upon return.
|
|
virtual void | warnParamTypestateMismatch (SourceLocation LOC, StringRef ExpectedState, StringRef ObservedState) |
|
virtual void | warnReturnTypestateForUnconsumableType (SourceLocation Loc, StringRef TypeName) |
| Warn about return typestates set for unconsumable types.
|
|
virtual void | warnReturnTypestateMismatch (SourceLocation Loc, StringRef ExpectedState, StringRef ObservedState) |
| Warn about return typestate mismatches.
|
|
virtual void | warnUseOfTempInInvalidState (StringRef MethodName, StringRef State, SourceLocation Loc) |
| Warn about use-while-consumed errors.
|
|
virtual void | warnUseInInvalidState (StringRef MethodName, StringRef VariableName, StringRef State, SourceLocation Loc) |
| Warn about use-while-consumed errors.
|
|
Definition at line 56 of file Consumed.h.
◆ ~ConsumedWarningsHandlerBase()
ConsumedWarningsHandlerBase::~ConsumedWarningsHandlerBase |
( |
| ) |
|
|
virtualdefault |
◆ emitDiagnostics()
virtual void clang::consumed::ConsumedWarningsHandlerBase::emitDiagnostics |
( |
| ) |
|
|
inlinevirtual |
◆ warnLoopStateMismatch()
virtual void clang::consumed::ConsumedWarningsHandlerBase::warnLoopStateMismatch |
( |
SourceLocation |
Loc, |
|
|
StringRef |
VariableName |
|
) |
| |
|
inlinevirtual |
◆ warnParamReturnTypestateMismatch()
virtual void clang::consumed::ConsumedWarningsHandlerBase::warnParamReturnTypestateMismatch |
( |
SourceLocation |
Loc, |
|
|
StringRef |
VariableName, |
|
|
StringRef |
ExpectedState, |
|
|
StringRef |
ObservedState |
|
) |
| |
|
inlinevirtual |
◆ warnParamTypestateMismatch()
virtual void clang::consumed::ConsumedWarningsHandlerBase::warnParamTypestateMismatch |
( |
SourceLocation |
LOC, |
|
|
StringRef |
ExpectedState, |
|
|
StringRef |
ObservedState |
|
) |
| |
|
inlinevirtual |
◆ warnReturnTypestateForUnconsumableType()
virtual void clang::consumed::ConsumedWarningsHandlerBase::warnReturnTypestateForUnconsumableType |
( |
SourceLocation |
Loc, |
|
|
StringRef |
TypeName |
|
) |
| |
|
inlinevirtual |
Warn about return typestates set for unconsumable types.
- Parameters
-
Loc | – The location of the attributes. |
TypeName | – The name of the unconsumable type. |
Definition at line 99 of file Consumed.h.
◆ warnReturnTypestateMismatch()
virtual void clang::consumed::ConsumedWarningsHandlerBase::warnReturnTypestateMismatch |
( |
SourceLocation |
Loc, |
|
|
StringRef |
ExpectedState, |
|
|
StringRef |
ObservedState |
|
) |
| |
|
inlinevirtual |
◆ warnUseInInvalidState()
virtual void clang::consumed::ConsumedWarningsHandlerBase::warnUseInInvalidState |
( |
StringRef |
MethodName, |
|
|
StringRef |
VariableName, |
|
|
StringRef |
State, |
|
|
SourceLocation |
Loc |
|
) |
| |
|
inlinevirtual |
◆ warnUseOfTempInInvalidState()
virtual void clang::consumed::ConsumedWarningsHandlerBase::warnUseOfTempInInvalidState |
( |
StringRef |
MethodName, |
|
|
StringRef |
State, |
|
|
SourceLocation |
Loc |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following files: