[PATCH] D116414: [AST] Produce ReturnStmt containing RecoveryExpr when type is wrong

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 30 08:34:16 PST 2021


sammccall updated this revision to Diff 396680.
sammccall added a comment.

Add evaluation test


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116414

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaStmt.cpp
  clang/test/AST/ast-dump-recovery.cpp
  clang/test/SemaCXX/constant-expression-cxx11.cpp
  clang/test/SemaCXX/constant-expression-cxx14.cpp
  clang/test/SemaCXX/constexpr-function-recovery-crash.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116414.396680.patch
Type: text/x-patch
Size: 9661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211230/933cd402/attachment.bin>


More information about the cfe-commits mailing list