[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 11:34:32 PST 2023


MaskRay updated this revision to Diff 486641.
MaskRay edited the summary of this revision.
MaskRay added a comment.

add release note (this makes it slightly difficult to backport)


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.486641.patch
Type: text/x-patch
Size: 6499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230105/622274d6/attachment-0001.bin>


More information about the cfe-commits mailing list