[all-commits] [llvm/llvm-project] 800b07: [clang][bytecode] Change isArrayElement() for narr...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Oct 4 05:19:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 800b07396ff54b037fa9b73bb15586456656fb79
      https://github.com/llvm/llvm-project/commit/800b07396ff54b037fa9b73bb15586456656fb79
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-10-04 (Fri, 04 Oct 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Descriptor.cpp
    M clang/lib/AST/ByteCode/Descriptor.h
    M clang/lib/AST/ByteCode/Pointer.cpp
    M clang/lib/AST/ByteCode/Pointer.h
    M clang/test/CodeGen/2008-08-07-AlignPadding1.c
    M clang/unittests/AST/ByteCode/Descriptor.cpp

  Log Message:
  -----------
  [clang][bytecode] Change isArrayElement() for narrowed composite arrays (#111110)

Make isArrayElement() return true here, so we can know that such a
pointer is in fact an array element and handle it properly in
toAPValue().



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