[cfe-dev] Feature request: C intrinsics for overflow detection

Andy Lutomirski luto at amacapital.net
Fri May 9 13:22:04 PDT 2014


On Fri, May 9, 2014 at 1:05 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> On Fri, May 9, 2014 at 10:55 AM, Reid Kleckner <rnk at google.com> wrote:
>>
>> They are exposed:
>>
>> http://clang.llvm.org/docs/LanguageExtensions.html#checked-arithmetic-builtins
>>
>> ... but that's not indexed by Google.  Maybe this is the problem?
>> http://clang.llvm.org/robots.txt:
>> User-agent: *
>> Disallow:
>
>
> That's an 'allow everything' robots.txt. The results are there; try
> searching for: "__builtin_uadd_overflow" clang


The problem is that searching for things like "clang overflow
detection" returns a bunch of results that look like they would have
suggested using the intrinsics if they existed, so I assumed that they
didn't.



More information about the cfe-dev mailing list