[PATCH] D141193: [clang][Interp] Implement __builtin_assume

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 13 11:38:17 PST 2023


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM; I verified that constant expression evaluation ignores failed assumptions: http://eel.is/c++draft/expr.const#5.8 so this is in line with the C++2b feature.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141193



More information about the cfe-commits mailing list