jroelofs added a comment. I think you'd have to check for a maximum host SDK version, and then bump it upstream every time there's a new one thats known to work with the then-current trunk.
It can't be done based on language features because by definition, one cannot know what features are going to be added in the future. All of that being said, we'd still have a situation where the test means different things on different host systems purely based on what's installed on that system (which is not a good thing IMO). https://reviews.llvm.org/D32178 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits