[cfe-commits] r149227 - in /cfe/trunk: include/clang/Basic/TargetInfo.h lib/Basic/Module.cpp lib/Basic/Targets.cpp lib/Headers/module.map test/Modules/compiler_builtins.m

Ted Kremenek kremenek at apple.com
Mon Jan 30 00:15:56 PST 2012


On Jan 29, 2012, at 10:38 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Mon Jan 30 00:38:25 2012
> New Revision: 149227
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=149227&view=rev
> Log:
> Introduce TargetInfo::hasFeature() to query various feature names in
> each of the targets. Use this for module requirements, so that we can
> pin the availability of certain modules to certain target features,
> e.g., provide a module for xmmintrin.h only when SSE support is
> available.

Hi Doug,

This is something that should probably go through a general design discussion on cfe-dev.  This is making this stuff permanent API, which I think warrants discussion.

Ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120130/84bec340/attachment.html>


More information about the cfe-commits mailing list