- Make Pass::lookupPassInfo a public member
authorChris Lattner <sabre@nondot.org>
Wed, 21 Aug 2002 22:13:33 +0000 (22:13 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 Aug 2002 22:13:33 +0000 (22:13 +0000)
commit1d63a167ecf964d00d2865fec182f1d67e7e3f36
treefa3552cbcb4587f495647e05207952969c414153
parentb63b29d9b030beb00df59bc9f0d80f90cdfc6aab
  - Make Pass::lookupPassInfo a public member
  - Fix Pass::getAnalysis<AnalysisType>() to use dynamic_cast instead of a
    static cast to handle the case where the cast from & two classes are not
    related via inheritance.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3423 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Pass.h