[all-commits] [llvm/llvm-project] 7f677f: [clang][Interp] Add explicit dummy descriptors (#6...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Oct 26 06:15:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f677fe3100131214386f9ce1fa308c235a595e9
      https://github.com/llvm/llvm-project/commit/7f677fe3100131214386f9ce1fa308c235a595e9
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M clang/lib/AST/Interp/Descriptor.cpp
    M clang/lib/AST/Interp/Descriptor.h
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/lib/AST/Interp/Pointer.h
    M clang/lib/AST/Interp/Program.cpp
    M clang/test/AST/Interp/c.c

  Log Message:
  -----------
  [clang][Interp] Add explicit dummy descriptors (#68888)

Instead of (ab)using incomplete array types for this, add a 'Dummy' bit
to Descriptor. We need to be able to differentiate between the two when
adding an offset.




More information about the All-commits mailing list