[all-commits] [llvm/llvm-project] 1c7673: [clang][Interp] Fix locals created in ExprWithClea...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu May 2 04:53:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c7673b91d4d3bab4e296f5c67751d3879fb21a2
      https://github.com/llvm/llvm-project/commit/1c7673b91d4d3bab4e296f5c67751d3879fb21a2
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  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] Fix locals created in ExprWithCleanups

Save the declaration we're creating a scope for (if applicable),
so we can attach a local temporary variable to the right scope.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list