[all-commits] [llvm/llvm-project] 907b5e: [clang][bytecode] Diagnose more pointer comparison...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Jun 10 23:49:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 907b5e92e1ddbbcc93e7bac84fcfa5810f442997
      https://github.com/llvm/llvm-project/commit/907b5e92e1ddbbcc93e7bac84fcfa5810f442997
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/Pointer.cpp
    M clang/test/AST/ByteCode/cxx11.cpp
    M clang/test/SemaCXX/constant-expression-p2280r4.cpp

  Log Message:
  -----------
  [clang][bytecode] Diagnose more pointer comparisons (#201588)

Diagnose comparisons between base classes as well as base classes and
fields. Also add some test cases for things that currently fail because
we compute the wrong offset.



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