]> granicus.if.org Git - clang/commit
Make ModuleDependencyCollector's method virtual (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 12 Feb 2019 21:45:14 +0000 (21:45 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 12 Feb 2019 21:45:14 +0000 (21:45 +0000)
commitcf4611b4c5e0861c07a62d9e32b41143f0934c3b
treef64e71a77f5618887330da5cad741be7a5cf7644
parent5a9a60b604282258d8f437a58e934c7a26414668
Make ModuleDependencyCollector's method virtual (NFC)

For reproducers in LLDB we want to hook up into the existing clang
infrastructure. To make that happen we need to be able to override the
ModuleDependencyCollector's methods.

The alternative was to inherit from the DependencyCollector directly,
but that would mean re-implementing the ModuleDependencyListener and the
ModuleDependencyPPCallbacks and ModuleDependencyMMCallbacks.

Differential revision: https://reviews.llvm.org/D58072

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@353882 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/Utils.h