summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h4
-rw-r--r--clang/lib/Analysis/ThreadSafety.cpp10
2 files changed, 7 insertions, 7 deletions
diff --git a/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h b/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
index 83b652d26b1..8de9dfd881b 100644
--- a/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
+++ b/clang/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/clang/lib/Analysis/ThreadSafety.cpp b/clang/lib/Analysis/ThreadSafety.cpp
index d233b1b1ba4..5ec9d297f0b 100644
--- a/clang/lib/Analysis/ThreadSafety.cpp
+++ b/clang/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,
OpenPOWER on IntegriCloud