[clang] [clang-repl] Simplify the value printing logic to enable out-of-process. (PR #107737)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 20 06:39:54 PDT 2024
================
@@ -53,6 +53,7 @@ class MultiplexConsumer : public SemaConsumer {
public:
// Takes ownership of the pointers in C.
MultiplexConsumer(std::vector<std::unique_ptr<ASTConsumer>> C);
+ MultiplexConsumer(std::unique_ptr<ASTConsumer> C);
----------------
AaronBallman wrote:
This feels unnecessary because you should be able to do `MultiplexConsumer M({std::move(ptr)});` right?
https://github.com/llvm/llvm-project/pull/107737
More information about the cfe-commits
mailing list