efriedma added a comment.

> If any of those options we care about wind up being changed, there's a good 
> chance we may need to change something on our end anyway, so breaking us is 
> actually useful.

I'm not sure I follow.  The language options have specific consequences you 
could check some other way, so they're "stable" in the sense that the same 
flags will produce the same result (e.g. LangOpts.FastMath represents whether 
__FAST_MATH__ is defined).  So it should be possible to provide the data 
somehow; I'm more concerned about taking names and enum values from 
LangOptions.def itself.


https://reviews.llvm.org/D45835



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to