[all-commits] [llvm/llvm-project] 559df8: [clang][bytecode] Fix subtracting zero-sized point...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Apr 16 01:49:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 559df834df4c5653227cb85129904004164e4c4f
      https://github.com/llvm/llvm-project/commit/559df834df4c5653227cb85129904004164e4c4f
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-04-16 (Wed, 16 Apr 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/Pointer.h
    M clang/test/AST/ByteCode/arrays.cpp
    M clang/test/AST/ByteCode/new-delete.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix subtracting zero-sized pointers (#135929)

Add the appropriate diagnostic and fix the d-d case.



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