[PATCH] D140868: [C] Make (c ? e1 : e2) noreturn only if both e1 and e2 are noreturn

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 5 14:36:57 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGcf8fd210a35c: [C] Make (c ? e1 : e2) noreturn only if both e1 and e2 are noreturn (authored by MaskRay).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140868

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/AST/ASTContext.h
  clang/lib/AST/ASTContext.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/test/CodeGen/attr-noreturn.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140868.486684.patch
Type: text/x-patch
Size: 6499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230105/b24da5c1/attachment-0001.bin>


More information about the cfe-commits mailing list