[PATCH] D155707: [clang][Interp] Handle CXXNoexceptExprs

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 23 01:33:14 PDT 2023


cor3ntin 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;
----------------
Can you either add tests with explicit expressions in the no except, or see if you can enable one of the existing test files?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155707



More information about the cfe-commits mailing list