cling/lib/Interpreter
Raphael Isemann 777650d799 Allow setting a custom ASTConsumer in CIFactory (NFC).
So far we create our DeclCollector in the CIFactory and then tried to
get this variable back in the IncrementalParser by casting the
ASTConsumer of our compiler instance to a DeclCollector. This strategy
fails as soon as we want to have multiple collectors and start using
the clang multiplexer as this call will now fail (e.g. in this case to
have another ASTConsumer that looks in the C++ modules case for what
libraries we need to link - and the best way to add this is via
the multiplexed ASTConsumer that clang provides).

This patch moves the responsibility for the DeclCollector to the
caller that relies on getting a DeclCollector back, which is in this
case the constructor of IncrementalParser.
2017-06-30 10:30:35 +02:00
..
2016-07-18 14:29:14 +02:00
2015-04-17 02:50:36 +02:00
2017-05-21 16:44:08 +02:00
2017-06-27 10:14:05 +02:00
2016-04-22 12:29:14 +02:00
2015-03-16 13:12:47 +01:00