r214856 - Updating the documentation comment to list another parameter. No functional changes.

Aaron Ballman aaron at aaronballman.com
Tue Aug 5 04:48:21 PDT 2014


Author: aaronballman
Date: Tue Aug  5 06:48:21 2014
New Revision: 214856

URL: http://llvm.org/viewvc/llvm-project?rev=214856&view=rev
Log:
Updating the documentation comment to list another parameter. No functional changes.

Modified:
    cfe/trunk/include/clang/Analysis/Analyses/ThreadSafety.h

Modified: cfe/trunk/include/clang/Analysis/Analyses/ThreadSafety.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/ThreadSafety.h?rev=214856&r1=214855&r2=214856&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/ThreadSafety.h (original)
+++ cfe/trunk/include/clang/Analysis/Analyses/ThreadSafety.h Tue Aug  5 06:48:21 2014
@@ -163,8 +163,10 @@ public:
 
   /// Warn when acquiring a lock that the negative capability is not held.
   /// \param Kind -- the capability's name parameter (role, mutex, etc).
-  /// \param LockName -- A StringRef name for the lock expression, to be printed
-  /// in the error message.
+  /// \param LockName -- The name for the lock expression, to be printed in the
+  /// diagnostic.
+  /// \param Neg -- The name of the negative capability to be printed in the
+  /// diagnostic.
   /// \param Loc -- The location of the protected operation.
   virtual void handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg,
                                      SourceLocation Loc) {}





More information about the cfe-commits mailing list