ilya-biryukov added a comment. I would argue this should be handled by the clients instead. Adding global state and locking is complicated. (And ASTUnit is complicated enough).
What are the use-cases of creating multiple `ASTUnit` inside the same process for the same file? Which clients do that and why they can't have a single ASTUnit per file? https://reviews.llvm.org/D48314 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits