[PATCH] D66862: Make lround builtin constexpr (and others)

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 29 10:16:54 PDT 2019


erichkeane requested changes to this revision.
erichkeane added a comment.
This revision now requires changes to proceed.

Craig topper pointed out to me that constexpr cannot throw exceptions, and at least the rints can raise some exceptions, which aren't allowed in Constexpr.  The round functions similarly hit unspecified behavior, so we need to match that behavior.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66862/new/

https://reviews.llvm.org/D66862





More information about the cfe-commits mailing list