This is an archive of the discontinued LLVM Phabricator instance.

Remove the enableIncrementalProcesing logic in favor of -fincremental-extensions
Needs ReviewPublic

Authored by v.g.vassilev on Dec 3 2022, 10:30 AM.

Details

Summary

As we have discussed in https://reviews.llvm.org/D127284 we would like to phase out enableIncrementalProcesing and use a better integrated option.

https://reviews.llvm.org/D127284 introduces a LangOpt called IncrementalExtensions, however, we also have a TU_Incremental kind. I am not entirely sure when we should use that because generally most of our actions (even if we pass -fincremental-extensions) we still get TU_Complete.

@aaron.ballman, @rsmith, do you have an idea how to harmonize this?

Diff Detail