diff --git a/clang/include/clang/Analysis/Analyses/Consumed.h b/clang/include/clang/Analysis/Analyses/Consumed.h index 8831fccc885a..8ff9b6dcc954 100644 --- a/clang/include/clang/Analysis/Analyses/Consumed.h +++ b/clang/include/clang/Analysis/Analyses/Consumed.h @@ -51,9 +51,6 @@ namespace consumed { /// \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) {} @@ -62,9 +59,6 @@ namespace consumed { /// \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) {} diff --git a/clang/lib/Sema/AnalysisBasedWarnings.cpp b/clang/lib/Sema/AnalysisBasedWarnings.cpp index 54b791e6f621..41f4974494c3 100644 --- a/clang/lib/Sema/AnalysisBasedWarnings.cpp +++ b/clang/lib/Sema/AnalysisBasedWarnings.cpp @@ -1463,9 +1463,6 @@ public: /// \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) { @@ -1479,9 +1476,6 @@ public: /// \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) {