[all-commits] [llvm/llvm-project] f49cd1: [clang][bytecode] Check overrider for pure virtual...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Oct 28 00:36:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f49cd170c0a05875542d4e042265b05312fa00ef
      https://github.com/llvm/llvm-project/commit/f49cd170c0a05875542d4e042265b05312fa00ef
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-10-28 (Tue, 28 Oct 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/test/AST/ByteCode/cxx20.cpp

  Log Message:
  -----------
  [clang][bytecode] Check overrider for pure virtual (#165262)

Instead of checking the initial callee, check the callee after the
virtual dispatch. This means we need to check whether we're in a ctor to
not regress existing tests.

Fixes https://github.com/llvm/llvm-project/issues/165234



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