[PATCH] D155707: [clang][Interp] Handle CXXNoexceptExprs
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 23 02:25:28 PDT 2023
tbaeder marked an inline comment as done.
tbaeder added inline comments.
================
Comment at: clang/test/AST/Interp/literals.cpp:1037-1045
+namespace NE {
+ constexpr int foo() noexcept {
+ return 1;
+ }
+ static_assert(noexcept(foo()), "");
+ constexpr int foo2() {
+ return 1;
----------------
cor3ntin wrote:
> Can you either add tests with explicit expressions in the no except, or see if you can enable one of the existing test files?
Turns out I can.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155707/new/
https://reviews.llvm.org/D155707
More information about the cfe-commits
mailing list