/// \param MethodName -- The name of the method that was incorrectly
/// invoked.
///
- /// \param VariableName -- The name of the variable that holds the unique
- /// value.
- ///
/// \param Loc -- The SourceLocation of the method invocation.
virtual void warnUseOfTempWhileConsumed(StringRef MethodName,
SourceLocation Loc) {}
/// \param MethodName -- The name of the method that was incorrectly
/// invoked.
///
- /// \param VariableName -- The name of the variable that holds the unique
- /// value.
- ///
/// \param Loc -- The SourceLocation of the method invocation.
virtual void warnUseOfTempInUnknownState(StringRef MethodName,
SourceLocation Loc) {}
/// \param MethodName -- The name of the method that was incorrectly
/// invoked.
///
- /// \param VariableName -- The name of the variable that holds the unique
- /// value.
- ///
/// \param Loc -- The SourceLocation of the method invocation.
void warnUseOfTempWhileConsumed(StringRef MethodName, SourceLocation Loc) {
/// \param MethodName -- The name of the method that was incorrectly
/// invoked.
///
- /// \param VariableName -- The name of the variable that holds the unique
- /// value.
- ///
/// \param Loc -- The SourceLocation of the method invocation.
void warnUseOfTempInUnknownState(StringRef MethodName, SourceLocation Loc) {