Ampersand goes with identifier.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163410 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/ThreadSafety.cpp b/lib/Analysis/ThreadSafety.cpp
index 06ae32c..9c5fb1a 100644
--- a/lib/Analysis/ThreadSafety.cpp
+++ b/lib/Analysis/ThreadSafety.cpp
@@ -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;
}