[PATCH] D31544: Add AllowReparse parameter to ASTUnit::Reparse
ibronstein created this revision. ibronstein added a project: clang-c. An idea behind the commit is to have an option (AllowReparse = false) in ASTUnit::Reparse() which will disallow rebuilding the precompiled preamble. https://reviews.llvm.org/D31544 Files: include/clang/Frontend/ASTUnit.h
[PATCH] D31544: Add AllowRebuild parameter to ASTUnit::Reparse()
ibronstein added inline comments. Comment at: lib/Frontend/ASTUnit.cpp:2068 +if (!AllowRebuild && !OverrideMainBuffer) + return false; + } Can we leave ASTUnit in such state? https://reviews.llvm.org/D31544 _