[all-commits] [llvm/llvm-project] 904c53: [clang][Interp] Use different inline descriptors f...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Jun 14 20:42:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 904c53d53e7abc3916a679832ec4fa6e521e09b9
      https://github.com/llvm/llvm-project/commit/904c53d53e7abc3916a679832ec4fa6e521e09b9
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/Interp/Descriptor.h
    M clang/lib/AST/Interp/Pointer.cpp
    M clang/lib/AST/Interp/Pointer.h
    M clang/lib/AST/Interp/Program.cpp
    M clang/test/AST/Interp/cxx98.cpp
    M clang/unittests/AST/Interp/Descriptor.cpp

  Log Message:
  -----------
  [clang][Interp] Use different inline descriptors for global variables

Most of the InlineDescriptor fields were unused for global variables.
But more importantly, we need to differentiate between global variables
that are uninitialized because they didn't have an initializer when we
originally created them, and ones that are uninitialized because they
DID have an initializer, but evaluating it failed.



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