forked from OSchip/llvm-project
[libclang] Do a AST concurrency check in clang_indexTranslationUnit_Impl.
llvm-svn: 164626
This commit is contained in:
parent
2f45853f2f
commit
341de09dcd
|
@ -539,6 +539,8 @@ static void clang_indexTranslationUnit_Impl(void *UserData) {
|
|||
if (!Unit)
|
||||
return;
|
||||
|
||||
ASTUnit::ConcurrencyCheck Check(*Unit);
|
||||
|
||||
FileManager &FileMgr = Unit->getFileManager();
|
||||
|
||||
if (Unit->getOriginalSourceFileName().empty())
|
||||
|
|
Loading…
Reference in New Issue