r214795 - ThreadSafetyAnalysis: Fix annotations in class members. [-Wdocumentation]

NAKAMURA Takumi geek4civic at gmail.com
Mon Aug 4 15:48:36 PDT 2014


Author: chapuni
Date: Mon Aug  4 17:48:36 2014
New Revision: 214795

URL: http://llvm.org/viewvc/llvm-project?rev=214795&view=rev
Log:
ThreadSafetyAnalysis: Fix annotations in class members. [-Wdocumentation]

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

Modified: cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h?rev=214795&r1=214794&r2=214795&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h (original)
+++ cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyCommon.h Mon Aug  4 17:48:36 2014
@@ -257,8 +257,8 @@ class CapabilityExpr {
   // translateAttrExpr needs it, but that should be moved too.
 
 private:
-  const til::SExpr* CapExpr;   //< The capability expression.
-  bool Negated;                //< True if this is a negative capability
+  const til::SExpr* CapExpr;   ///< The capability expression.
+  bool Negated;                ///< True if this is a negative capability
 
 public:
   CapabilityExpr(const til::SExpr *E, bool Neg) : CapExpr(E), Negated(Neg) {}

Modified: cfe/trunk/lib/Analysis/ThreadSafety.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/ThreadSafety.cpp?rev=214795&r1=214794&r2=214795&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/ThreadSafety.cpp (original)
+++ cfe/trunk/lib/Analysis/ThreadSafety.cpp Mon Aug  4 17:48:36 2014
@@ -97,11 +97,11 @@ public:
 /// shared.
 class FactEntry : public CapabilityExpr {
 private:
-  LockKind          LKind;            //<  exclusive or shared
-  SourceLocation    AcquireLoc;       //<  where it was acquired.
-  bool              Managed;          //<  for ScopedLockable objects
-  bool              Asserted;         //<  true if the lock was asserted
-  const til::SExpr* UnderlyingMutex;  //<  for ScopedLockable objects
+  LockKind          LKind;            ///<  exclusive or shared
+  SourceLocation    AcquireLoc;       ///<  where it was acquired.
+  bool              Managed;          ///<  for ScopedLockable objects
+  bool              Asserted;         ///<  true if the lock was asserted
+  const til::SExpr* UnderlyingMutex;  ///<  for ScopedLockable objects
 
 public:
   FactEntry(const CapabilityExpr &CE, LockKind LK, SourceLocation Loc,





More information about the cfe-commits mailing list