[all-commits] [llvm/llvm-project] 8799eb: [clang] Fix or emit diagnostic for checked arithme...
jtmott-intel via All-commits
all-commits at lists.llvm.org
Mon Jun 15 06:52:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8799ebbc1f03a348f732fc14242ad4c395076bcc
https://github.com/llvm/llvm-project/commit/8799ebbc1f03a348f732fc14242ad4c395076bcc
Author: Jeff Mott <jeffrey.t.mott at intel.com>
Date: 2020-06-15 (Mon, 15 Jun 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/builtins-overflow.c
M clang/test/Sema/builtins-overflow.c
A clang/test/Sema/builtins-overflow.m
Log Message:
-----------
[clang] Fix or emit diagnostic for checked arithmetic builtins with
_ExtInt types
- Fix computed size for _ExtInt types passed to checked arithmetic
builtins.
- Emit diagnostic when signed _ExtInt larger than 128-bits is passed
to __builtin_mul_overflow.
- Change Sema checks for builtins to accept placeholder types.
Differential Revision: https://reviews.llvm.org/D81420
More information about the All-commits
mailing list