[PATCH] D48040: Implement constexpr __builtin_*_overflow

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 11 11:24:02 PDT 2018


erichkeane created this revision.
erichkeane added reviewers: eli.friedman, rjmccall.

As requested here:https://bugs.llvm.org/show_bug.cgi?id=37633

permit the __builtin_*_overflow builtins in constexpr functions.


Repository:
  rC Clang

https://reviews.llvm.org/D48040

Files:
  lib/AST/ExprConstant.cpp
  lib/Sema/SemaChecking.cpp
  test/SemaCXX/builtins-overflow.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48040.150798.patch
Type: text/x-patch
Size: 9300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180611/b6f3ea21/attachment-0001.bin>


More information about the cfe-commits mailing list