This fixes libclang to cope with the now compile-time multithreaded
authorChandler Carruth <chandlerc@gmail.com>
Fri, 27 Jun 2014 15:14:39 +0000 (15:14 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 27 Jun 2014 15:14:39 +0000 (15:14 +0000)
commit37ad2582d6acee70f21a5660c71d90b951b4e0ec
tree2e675e2c5a37e6ff3c9c5bc8995ff0cd2a12282c
parent39cd216f8f6c04aadd00de08f8ccb628eb33a514
This fixes libclang to cope with the now compile-time multithreaded
selection re-enabled in r211900 in LLVM.

The approach (unlike r211121) doesn't rely on std::mutex or
std::call_once to avoid breaknig cygwin bots.

llvm-svn: 211901
clang/tools/libclang/CIndex.cpp