]> granicus.if.org Git - clang/commitdiff
ThreadSafety.cpp: Prune bogus \param(s). [-Wdocumentation]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 4 Aug 2014 22:48:46 +0000 (22:48 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 4 Aug 2014 22:48:46 +0000 (22:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214796 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ThreadSafety.cpp

index 5ec9d297f0b2752116e9b86baaa462eea28b9ade..2108bbb3c543058c706be2a4e91da603b464bdeb 100644 (file)
@@ -907,8 +907,6 @@ inline bool ThreadSafetyAnalyzer::inCurrentScope(const CapabilityExpr &CapE) {
 
 
 /// \brief Add a new lock to the lockset, warning if the lock is already there.
-/// \param Mutex   -- the Mutex expression for the lock
-/// \param LDat    -- the LockData for the lock
 /// \param ReqAttr -- true if this is part of an initial Requires attribute.
 void ThreadSafetyAnalyzer::addLock(FactSet &FSet, const FactEntry &Entry,
                                    StringRef DiagKind, bool ReqAttr) {
@@ -941,7 +939,6 @@ void ThreadSafetyAnalyzer::addLock(FactSet &FSet, const FactEntry &Entry,
 
 
 /// \brief Remove a lock from the lockset, warning if the lock is not there.
-/// \param Mutex The lock expression corresponding to the lock to be removed
 /// \param UnlockLoc The source location of the unlock (only used in error msg)
 void ThreadSafetyAnalyzer::removeLock(FactSet &FSet, const CapabilityExpr &Cp,
                                       SourceLocation UnlockLoc,