[all-commits] [llvm/llvm-project] a113b4: [clang][Interp] Remove GlobalDecl flag (#101995)

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Aug 5 09:16:53 PDT 2024


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

  Changed paths:
    M clang/lib/AST/Interp/Compiler.cpp
    M clang/lib/AST/Interp/Compiler.h
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/Interp/Descriptor.cpp
    M clang/test/AST/Interp/codegen.cpp

  Log Message:
  -----------
  [clang][Interp] Remove GlobalDecl flag (#101995)

When initializing global variables, we still need to create local
variables for temporaries created in the process. Otherwise, we will
never call their destructors.



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