Stat and check system headers for staleness when using -verify-pch.  Also 
create the AST reader directly, rather than using createPCHExternalASTSource, 
since we don’t want to install the external source anyway, and it keeps us from 
cluttering the parameters to that function.

I wasn’t sure how to test this from within the lit tests, so if there is a nice 
way let me know and I will create a test.  It does work in my local testing 
where I can just “sudo touch /usr/include/sys/attr.h” to cause a failure to 
validate.

Ben

Attachment: stat-sys-headers.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to