This is an archive of the discontinued LLVM Phabricator instance.

Add AllowRebuild parameter to ASTUnit::Reparse()
Needs ReviewPublic

Authored by ibronstein on Mar 31 2017, 10:53 AM.

Details

Summary

An idea behind the commit is to have an option (AllowRebuild = false) in ASTUnit::Reparse() which will disallow rebuilding the precompiled preamble.

Diff Detail

Event Timeline

ibronstein created this revision.Mar 31 2017, 10:53 AM
ibronstein retitled this revision from Add AllowReparse parameter to ASTUnit::Reparse to Add AllowReparse parameter to ASTUnit::Reparse().
ibronstein retitled this revision from Add AllowReparse parameter to ASTUnit::Reparse() to Add AllowRebuild parameter to ASTUnit::Reparse().Mar 31 2017, 10:56 AM
ibronstein edited the summary of this revision. (Show Details)
ibronstein added inline comments.Apr 4 2017, 6:16 AM
lib/Frontend/ASTUnit.cpp
2068

Can we leave ASTUnit in such state?

espindola edited reviewers, added: espindola; removed: rafael.Mar 15 2018, 9:51 AM