On Dec 2, 2009, at 5:34 PM, Ted Kremenek wrote:
> Author: kremenek
> Date: Wed Dec  2 19:34:15 2009
> New Revision: 90378
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=90378&view=rev
> Log:
> Add 'has_feature(cxx_exceptions)' to allow code to determine via preprocessor 
> logic if C++ exceptions are enabled.

But C and Objective C have exceptions as well!

> +    if (II->isStr("cxx_exceptions")) return LangOpts.Exceptions;

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

Reply via email to