[all-commits] [llvm/llvm-project] 3eaca3: [clang][Interp] Simplify and fix variable scope ha...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Aug 2 23:26:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3eaca31e4607161c0b878c242c040de2cdadcced
      https://github.com/llvm/llvm-project/commit/3eaca31e4607161c0b878c242c040de2cdadcced
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Compiler.h
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpFrame.cpp
    M clang/lib/AST/Interp/InterpFrame.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/if.cpp
    M clang/test/AST/Interp/loops.cpp

  Log Message:
  -----------
  [clang][Interp] Simplify and fix variable scope handling (#101788)

Change scope handling to allow multiple Destroy calls for a given scope,
provided it is preceeded by a InitScope call. This is necessary to
properly allow nested scopes in loops.



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