From 039970aae2b7e59ac4de5f147dfbc3c91b275b9e Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi <geek4civic@gmail.com> Date: Tue, 13 Aug 2013 01:53:21 +0000 Subject: [PATCH] AnalysisBasedWarnings.cpp:: Prune "\param VariableName", possibly copypasto, in comments. [-Wdocumentation] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188248 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/Analyses/Consumed.h | 6 ------ lib/Sema/AnalysisBasedWarnings.cpp | 6 ------ 2 files changed, 12 deletions(-) diff --git a/include/clang/Analysis/Analyses/Consumed.h b/include/clang/Analysis/Analyses/Consumed.h index 8831fccc88..8ff9b6dcc9 100644 --- a/include/clang/Analysis/Analyses/Consumed.h +++ b/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/lib/Sema/AnalysisBasedWarnings.cpp b/lib/Sema/AnalysisBasedWarnings.cpp index 54b791e6f6..41f4974494 100644 --- a/lib/Sema/AnalysisBasedWarnings.cpp +++ b/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) { -- 2.40.0