]> granicus.if.org Git - clang/commit
[checked-arithmetic builtins] Added builtins to enable users to perform checked-arith...
authorMichael Gottesman <mgottesman@apple.com>
Thu, 20 Jun 2013 23:28:10 +0000 (23:28 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Thu, 20 Jun 2013 23:28:10 +0000 (23:28 +0000)
commit98d1ec1e99625176626b0bcd44cef7df6e89b289
tree5e61718a1e26207b40c76af2ac52f476d738874c
parenta4993778f65212f01168c857cf3043e99ba85c9f
[checked-arithmetic builtins] Added builtins to enable users to perform checked-arithmetic in c.

This will enable users in security critical applications to perform
checked-arithmetic in a fast safe manner that is amenable to c.

Tests/an update to Language Extensions is included as well.

rdar://13421498.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184497 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LanguageExtensions.rst
docs/ReleaseNotes.rst
include/clang/Basic/Builtins.def
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/builtins-overflow.c [new file with mode: 0644]