[PATCH] [clang] Change llvm::sys::Mutex implementation to use STL-provided mutexes.

Zachary Turner zturner at google.com
Thu May 29 14:03:19 PDT 2014


Fix some compilation errors on Linux.

http://reviews.llvm.org/D3961

Files:
  tools/libclang/Indexing.cpp

Index: tools/libclang/Indexing.cpp
===================================================================
--- tools/libclang/Indexing.cpp
+++ tools/libclang/Indexing.cpp
@@ -146,7 +146,7 @@
 namespace {
 
 class SessionSkipBodyData {
-  llvm::sys::Mutex Mux;
+  llvm::sys::RecursiveMutex Mux;
   PPRegionSetTy ParsedRegions;
 
 public:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3961.9933.patch
Type: text/x-patch
Size: 333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140529/216204c2/attachment.bin>


More information about the llvm-commits mailing list