[cfe-commits] r164626 - /cfe/trunk/tools/libclang/Indexing.cpp
Argyrios Kyrtzidis
akyrtzi at gmail.com
Tue Sep 25 12:29:50 PDT 2012
Author: akirtzidis
Date: Tue Sep 25 14:29:50 2012
New Revision: 164626
URL: http://llvm.org/viewvc/llvm-project?rev=164626&view=rev
Log:
[libclang] Do a AST concurrency check in clang_indexTranslationUnit_Impl.
Modified:
cfe/trunk/tools/libclang/Indexing.cpp
Modified: cfe/trunk/tools/libclang/Indexing.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/Indexing.cpp?rev=164626&r1=164625&r2=164626&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/Indexing.cpp (original)
+++ cfe/trunk/tools/libclang/Indexing.cpp Tue Sep 25 14:29:50 2012
@@ -539,6 +539,8 @@
if (!Unit)
return;
+ ASTUnit::ConcurrencyCheck Check(*Unit);
+
FileManager &FileMgr = Unit->getFileManager();
if (Unit->getOriginalSourceFileName().empty())
More information about the cfe-commits
mailing list