[all-commits] [llvm/llvm-project] 567647: [clang][bytecode] Avoid revisiting decomposition d...

Sirui Mu via All-commits all-commits at lists.llvm.org
Sun Jun 15 08:00:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 567647888ea3dd292827bbac445d316d6a6b0ecb
      https://github.com/llvm/llvm-project/commit/567647888ea3dd292827bbac445d316d6a6b0ecb
  Author: Sirui Mu <msrlancern at gmail.com>
  Date:   2025-06-15 (Sun, 15 Jun 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/test/AST/ByteCode/cxx17.cpp

  Log Message:
  -----------
  [clang][bytecode] Avoid revisiting decomposition decl in visitDeclRef (#144226)

This simple patch removes the code to revisit `DecompositionDecl` in
`visitDeclRef`. The revisit will try to emit the initializer of the
`DecompositionDecl`, which could result in evaluation errors if the
`DecompositionDecl` is not within a constexpr context.



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