[all-commits] [llvm/llvm-project] e82306: [Support] Add support RTTI support for open class ...

lhames via All-commits all-commits at lists.llvm.org
Mon Apr 13 12:53:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e823068306e98e91f726c58a2112784f5ead245b
      https://github.com/llvm/llvm-project/commit/e823068306e98e91f726c58a2112784f5ead245b
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-04-13 (Mon, 13 Apr 2020)

  Changed paths:
    M llvm/docs/HowToSetUpLLVMStyleRTTI.rst
    A llvm/include/llvm/Support/ExtensibleRTTI.h
    M llvm/lib/Support/CMakeLists.txt
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/ExtensibleRTTITest.cpp

  Log Message:
  -----------
  [Support] Add support RTTI support for open class hierarchies.

This patch extracts the RTTI part of llvm::ErrorInfo into its own class
(RTTIExtends) so that it can be used in other non-error hierarchies, and makes
it compatible with the existing LLVM RTTI function templates (isa, cast,
dyn_cast, dyn_cast_or_null) by adding the classof method.

Differential Revision: https://reviews.llvm.org/D39111


  Commit: 840a23b0b5c74e439461564ffa63370991a67ad5
      https://github.com/llvm/llvm-project/commit/840a23b0b5c74e439461564ffa63370991a67ad5
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-04-13 (Mon, 13 Apr 2020)

  Changed paths:
    M llvm/docs/ORCv2.rst

  Log Message:
  -----------
  [ORC] Update ORCv2 docs to reflect removal of ExecutionSession::getMainJITDylib.

Thanks to Dibyendu Majumdar for spotting the issue.


Compare: https://github.com/llvm/llvm-project/compare/ec99d6e62f0a...840a23b0b5c7


More information about the All-commits mailing list