llvm.org GIT mirror llvm / 4072aa3
Fix build breakage caused by change to ValueMapTest. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211083 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 5 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
179179 template
180180 struct LockMutex : ValueMapConfig {
181181 struct ExtraData {
182 mutex_type *M;
182 MutexT *M;
183183 bool *CalledRAUW;
184184 bool *CalledDeleted;
185185 };
191191 *Data.CalledDeleted = true;
192192 EXPECT_FALSE(Data.M->tryacquire()) << "Mutex should already be locked.";
193193 }
194 static mutex_type *getMutex(const ExtraData &Data) { return Data.M; }
194 static MutexT *getMutex(const ExtraData &Data) { return Data.M; }
195195 };
196196 #if LLVM_ENABLE_THREADS
197197 TYPED_TEST(ValueMapTest, LocksMutex) {