[all-commits] [llvm/llvm-project] a038f9: [clang][Interp] Fix virtual calls with reference i...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Mar 1 07:36:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a038f9758e02812803b7efce10ecf784f9842bbb
      https://github.com/llvm/llvm-project/commit/a038f9758e02812803b7efce10ecf784f9842bbb
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/Interp.h
    M clang/test/SemaCXX/undefined-internal.cpp

  Log Message:
  -----------
  [clang][Interp] Fix virtual calls with reference instance pointers

getCXXRecordType() on those types does not return the type we need.
Use getPointeeCXXRecordType() instead in those cases.



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