[all-commits] [llvm/llvm-project] 633a6c: [Support] Extend ExtensibleRTTI utility to support...

Lang Hames via All-commits all-commits at lists.llvm.org
Thu Oct 24 15:54:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 633a6c91a3d8b8c97de661d7e611ff9720b857ab
      https://github.com/llvm/llvm-project/commit/633a6c91a3d8b8c97de661d7e611ff9720b857ab
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-10-24 (Thu, 24 Oct 2024)

  Changed paths:
    M llvm/include/llvm/Support/ExtensibleRTTI.h
    M llvm/unittests/Support/ExtensibleRTTITest.cpp

  Log Message:
  -----------
  [Support] Extend ExtensibleRTTI utility to support basic multiple inheritance. (#112643)

Clients can now pass multiple parent classes to RTTIExtends. Each parent
class will be inherited from publicly (and non-virtually). The isa,
cast, and dyn_cast methods will now work as expected for types with
multiple inheritance.



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