[PATCH] D141561: [clang] True `noexcept` (`-fstrict-noexcept` language dialect)

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 08:58:27 PST 2023


lebedev.ri updated this revision to Diff 488677.
lebedev.ri added a comment.

Effectively ignore dynamic exception specifications.
Normally, they'd catch, filter and either abort or resume.
But just skipping the abort part still leaves us with the rest of
the gunk that we fail to optimize away later: https://godbolt.org/z/vh58E4ooG


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141561

Files:
  clang/docs/ReleaseNotes.rst
  clang/docs/UsersManual.rst
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/CodeGen/CGCleanup.cpp
  clang/lib/CodeGen/CGCleanup.h
  clang/lib/CodeGen/CGException.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/lib/CodeGen/EHScopeStack.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/CodeGenCXX/exception-escape-as-ub-cleanups.cpp
  clang/test/CodeGenCXX/exception-escape.cpp
  clang/test/CodeGenCXX/strict-noexcept-with-dynamic-exception-specification.cpp
  clang/test/CodeGenCXX/strict-noexcept.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141561.488677.patch
Type: text/x-patch
Size: 122428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230112/73c315f2/attachment-0001.bin>


More information about the cfe-commits mailing list