]> granicus.if.org Git - clang/commit
Add support for __builtin_{add,sub,mul}_overflow.
authorJohn McCall <rjmccall@apple.com>
Thu, 29 Oct 2015 20:48:01 +0000 (20:48 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 29 Oct 2015 20:48:01 +0000 (20:48 +0000)
commitc41c63fbf84cc904580e733d1123d3b03bb5584c
treefd734fd65c6c20e6bdbeb23d548e832e3e61f95b
parent37f6a295a0a1883c2d4a8ce6261dc2b3e825f902
Add support for __builtin_{add,sub,mul}_overflow.

Patch by David Grayson!

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