]> granicus.if.org Git - clang/commitdiff
ThreadSafetyAnalysis: Fix annotations in class members. [-Wdocumentation]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 4 Aug 2014 22:48:36 +0000 (22:48 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 4 Aug 2014 22:48:36 +0000 (22:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214795 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Analyses/ThreadSafetyCommon.h
lib/Analysis/ThreadSafety.cpp

index 83b652d26b15f0a3868c1e30b44bdce64b3e8e96..8de9dfd881b2998ea54a4adf118387cf6b7fd618 100644 (file)
@@ -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) {}
index d233b1b1ba4f8e730f148449745062c428fd1532..5ec9d297f0b2752116e9b86baaa462eea28b9ade 100644 (file)
@@ -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,