[PATCH] D132997: [clang][Interp] Handle DeclRefExpr of reference types

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 31 00:29:22 PDT 2022


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

And add a couple of tests for it.

Notably, this is missing `MaterializeTemporaryExpr` and `ExprWithCleanups`, but the basic support seems to work.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132997

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132997.456875.patch
Type: text/x-patch
Size: 2815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220831/1b30e728/attachment.bin>


More information about the cfe-commits mailing list