[all-commits] [llvm/llvm-project] 25d612: [clang][Interp] Make sure we have a variable scope...

Timm Bäder via All-commits all-commits at lists.llvm.org
Thu Apr 13 06:35:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25d6123854d16370463ba884e750f303d09e9001
      https://github.com/llvm/llvm-project/commit/25d6123854d16370463ba884e750f303d09e9001
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

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

  Log Message:
  -----------
  [clang][Interp] Make sure we have a variable scope for initializers

Otherwise, we run into an assertion when trying to use the current
variable scope while creating temporaries for constructor initializers.

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




More information about the All-commits mailing list