]> granicus.if.org Git - clang/commit
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)
commita2f75a9805a64c0674b3d9cffdf22c72fbb71ddd
treec2c9ca6f983a648eedaf9e7495d22868d1ec2f30
parent1e2c681c5bc803e357a95cb211648d707edc92fd
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

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