[PATCH] D149828: [clang][Interp] Evaluate Base when discarding a MemberExpr

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 4 02:20:54 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.

  The Base expression might cause side-effects, so we still have to
  evaluate it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149828

Files:
  clang/lib/AST/Interp/ByteCodeExprGen.cpp
  clang/test/AST/Interp/literals.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149828.519395.patch
Type: text/x-patch
Size: 2701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230504/7e196cef/attachment-0001.bin>


More information about the cfe-commits mailing list