[cfe-dev] [PROPOSAL] Reintroduce guards for Intel intrinsic headers

Reid Kleckner rnk at google.com
Thu Jul 30 11:04:37 PDT 2015


On Thu, Jul 30, 2015 at 10:33 AM, Eric Christopher <echristo at gmail.com>
wrote:
>
> What kind of file is this? Keep in mind that things in the global
> namespace prefixed with an underscore is a reserved name for implementers
> as well. That would make this code not standards compliant as well.
>

The actual C++ rules are that any name with double underscores is reserved,
and names beginning with an underscore followed by a capital letter. So,
the Intel intrinsics are *not* in the implementer's namespace, but that was
probably a mistake.

I'm sympathetic to users who are probably implementing a compatibility
layer here and don't want to write their own intrinsic wrappers, but I
think the right tradeoff is probably to fix the code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150730/26291bf9/attachment.html>


More information about the cfe-dev mailing list