From: NAKAMURA Takumi Date: Mon, 4 Aug 2014 22:48:36 +0000 (+0000) Subject: ThreadSafetyAnalysis: Fix annotations in class members. [-Wdocumentation] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2558115f2e4b6ee9b652c3555d75dae8ea66e14;p=clang ThreadSafetyAnalysis: Fix annotations in class members. [-Wdocumentation] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214795 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/Analyses/ThreadSafetyCommon.h b/include/clang/Analysis/Analyses/ThreadSafetyCommon.h index 83b652d26b..8de9dfd881 100644 --- a/include/clang/Analysis/Analyses/ThreadSafetyCommon.h +++ b/include/clang/Analysis/Analyses/ThreadSafetyCommon.h @@ -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) {} diff --git a/lib/Analysis/ThreadSafety.cpp b/lib/Analysis/ThreadSafety.cpp index d233b1b1ba..5ec9d297f0 100644 --- a/lib/Analysis/ThreadSafety.cpp +++ b/lib/Analysis/ThreadSafety.cpp @@ -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,