Indeed. For those we can have separate has_feature entries. On Dec 2, 2009, at 6:06 PM, Mike Stump wrote:
> 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
