From db8d30003544d4e8ce28ce64e9efd4e8d76df5f5 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 13 Aug 2013 01:53:21 +0000 Subject: [PATCH] AnalysisBasedWarnings.cpp:: Prune "\param VariableName", possibly copypasto, in comments. [-Wdocumentation] llvm-svn: 188248 --- clang/include/clang/Analysis/Analyses/Consumed.h | 6 ------ clang/lib/Sema/AnalysisBasedWarnings.cpp | 6 ------ 2 files changed, 12 deletions(-) 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) {