This patch adds module dependencies (header files, module map files) to the list of files to check when deciding whether to rebuild a preamble. That fixes using preambles with module imports so long as they are in non-overridden files. Overridden files require a change to ASTReader that I will put in a separate patch.
The fix is accomplished by adding yet another dependency collector to the CompilerInstance, but my intent is to use to unify the existing dependency collectors to the new “DependencyCollectory” interface, starting with the DependencyFileGenerator. The default implementation of the DependencyCollector is intended to produce the same results as the dependency file generator. Ben
reparsemodule.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
