On Wednesday, August 15, 2012 3:59 AM, Jordan Rose wrote:
Stepping back, maybe that's a reason to go back to having two sets.
Attached is a patch back in the realm of two sets. I've also gone right back to using FileID rather than a combination of FileID and FileEntry in what feels like a completed circle! However, by ensuring that the instance of SourceManager doesn't change (which I believe is a valid assumption) and by keeping a pointer to it, it means the relevant FileEntry instance can always be retrieved from the FileID. It also has released the checking routines from the requirement of the Preprocessor object a little further and I believe I can do more to this end later as well, which will be all to the good since the Preprocessor is really an unnecessary requirement at this stage, and could potentially open up -verify to more uses where no Preprocessor is used. Hopefully its a lot easier to follow the logic too! Is this a step in a better direction? Cheers Andy
verify-rework.diff
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
