[all-commits] [llvm/llvm-project] e45d19: [clang][Interp] Handle CXXTemporaryObjectExprs

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Jul 25 22:37:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e45d1997686c6cb0f98c0dc00191d35b3d3e5f95
      https://github.com/llvm/llvm-project/commit/e45d1997686c6cb0f98c0dc00191d35b3d3e5f95
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/test/AST/Interp/records.cpp

  Log Message:
  -----------
  [clang][Interp] Handle CXXTemporaryObjectExprs

This is a CXXConstructExpr, so create a local temporary variable and
initialize it.

Differential Revision: https://reviews.llvm.org/D147591




More information about the All-commits mailing list