[all-commits] [llvm/llvm-project] 5148d2: [clang][bytecode] Improve `getType()` (#200342)

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Jun 1 20:26:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5148d2de75ec49b7642dff033164e51b099f06c4
      https://github.com/llvm/llvm-project/commit/5148d2de75ec49b7642dff033164e51b099f06c4
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Descriptor.cpp
    M clang/lib/AST/ByteCode/Descriptor.h
    M clang/lib/AST/ByteCode/DynamicAllocator.cpp
    M clang/lib/AST/ByteCode/Pointer.h
    M clang/lib/AST/ByteCode/Program.cpp
    M clang/unittests/AST/ByteCode/CMakeLists.txt
    A clang/unittests/AST/ByteCode/Pointer.cpp

  Log Message:
  -----------
  [clang][bytecode] Improve `getType()`  (#200342)

We previously often fell back to the type of the declaration, which is
wrong if we're pointing e.g. to a nested array.

Add a new unit test to vaildate this.



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