[cfe-commits] r84419 - /cfe/trunk/tools/CIndex/CIndex.cpp

Benjamin Kramer benny.kra at googlemail.com
Mon Oct 19 03:21:44 PDT 2009


Am 19.10.2009 um 08:55 schrieb Daniel Dunbar:

>>  class CIndexer : public Indexer {
>> -  std::string ClangPath;
>> +  static llvm::sys::Path ClangPath;
>
> This probably shouldn't be static, in case of concurrency. It's not
> that expensive to compute, so I think we should just have a copy per
> CIndexer instead of bothering to add locks for it.

Done in r84484.



More information about the cfe-commits mailing list