[PATCH] D107420: [sema] Disallow __builtin_mul_overflow under special condition.
Freddy, Ye via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 4 09:22:11 PDT 2021
FreddyYe marked an inline comment as done.
FreddyYe added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:8351-8353
+def err_overflow_builtin_special_combination_max_size : Error<
+ "__builtin_mul_overflow does not suport unsigned overflow check after convention "
+ "more than %0 bits">;
----------------
The new diagnostic is here. Forgot to update tests since I've not rebuilt completely.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107420/new/
https://reviews.llvm.org/D107420
More information about the cfe-commits
mailing list