Make MultiplexASTDeserializationListener part of the API [NFC]
authorRaphael Isemann <teemperor@gmail.com>
Fri, 27 Apr 2018 07:05:40 +0000 (07:05 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Fri, 27 Apr 2018 07:05:40 +0000 (07:05 +0000)
commit0d24edab022101146f1b40e980ef36dd0a0bcc34
treeac0294b2c8b85cac89b07d49f1cbb1643f2cc941
parentccda3d297023091f6468ad195c68b250c474a45a
Make MultiplexASTDeserializationListener part of the API [NFC]

Summary:
This patch moves the MultiplexASTDeserializationListener declaration into a public header.

We're currently using this multiplexer in the cling interpreter to attach another
ASTDeserializationListener during the execution (so, after the MultiplexConsumer is already
attached which prevents us from attaching more). So far we're doing this by patching clang
and making this class public, but it makes things easier if we make this instead just public in
upstream.

Reviewers: thakis, v.g.vassilev, rsmith, bruno

Reviewed By: bruno

Subscribers: llvm-commits, cfe-commits, v.g.vassilev

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

llvm-svn: 331021
clang/include/clang/Frontend/MultiplexConsumer.h
clang/lib/Frontend/MultiplexConsumer.cpp