[PATCH] D150364: [clang][Interp] Add 'Unsupported' opcode and use it for throw stmts

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 11 07:03:40 PDT 2023


tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, tahonermann, shafik.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

As discussed the other day. This fixes the diagnostics for the test case in `records.cpp`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150364

Files:
  clang/lib/AST/Interp/ByteCodeExprGen.cpp
  clang/lib/AST/Interp/ByteCodeExprGen.h
  clang/lib/AST/Interp/Interp.h
  clang/lib/AST/Interp/Opcodes.td
  clang/test/AST/Interp/records.cpp
  clang/test/AST/Interp/unsupported.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150364.521298.patch
Type: text/x-patch
Size: 4895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230511/6bec6f01/attachment.bin>


More information about the cfe-commits mailing list