[cfe-commits] r163410 - /cfe/trunk/lib/Analysis/ThreadSafety.cpp
Chad Rosier
mcrosier at apple.com
Fri Sep 7 12:49:55 PDT 2012
Author: mcrosier
Date: Fri Sep 7 14:49:55 2012
New Revision: 163410
URL: http://llvm.org/viewvc/llvm-project?rev=163410&view=rev
Log:
Ampersand goes with identifier.
Modified:
cfe/trunk/lib/Analysis/ThreadSafety.cpp
Modified: cfe/trunk/lib/Analysis/ThreadSafety.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/ThreadSafety.cpp?rev=163410&r1=163409&r2=163410&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/ThreadSafety.cpp (original)
+++ cfe/trunk/lib/Analysis/ThreadSafety.cpp Fri Sep 7 14:49:55 2012
@@ -822,7 +822,7 @@
LockData* findLock(FactManager& FM, const SExpr& M) const {
for (const_iterator I = begin(), E = end(); I != E; ++I) {
- const SExpr& Exp = FM[*I].MutID;
+ const SExpr &Exp = FM[*I].MutID;
if (Exp.matches(M))
return &FM[*I].LDat;
}
@@ -831,7 +831,7 @@
LockData* findLockUniv(FactManager& FM, const SExpr& M) const {
for (const_iterator I = begin(), E = end(); I != E; ++I) {
- const SExpr& Exp = FM[*I].MutID;
+ const SExpr &Exp = FM[*I].MutID;
if (Exp.matches(M) || Exp.isUniversal())
return &FM[*I].LDat;
}
More information about the cfe-commits
mailing list