summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Analysis/Analyses/Consumed.h6
-rw-r--r--clang/lib/Sema/AnalysisBasedWarnings.cpp6
2 files changed, 0 insertions, 12 deletions
diff --git a/clang/include/clang/Analysis/Analyses/Consumed.h b/clang/include/clang/Analysis/Analyses/Consumed.h
index 8831fccc885..8ff9b6dcc95 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 54b791e6f62..41f4974494c 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) {
OpenPOWER on IntegriCloud