================ @@ -91,7 +95,8 @@ createSharedMemoryManager(SimpleRemoteEPC &SREPC, Expected<std::unique_ptr<SimpleRemoteEPC>> launchExecutor(StringRef ExecutablePath, bool UseSharedMemory, - llvm::StringRef SlabAllocateSizeString) { + llvm::StringRef SlabAllocateSizeString, + std::function<void()> CustomizeFork) { ---------------- vgvassilev wrote:
Why not doing something like: ```suggestion std::function<void()> InitChild = [](){/*move the code from `if (Child)` into a default lambda here...*/}) { ``` https://github.com/llvm/llvm-project/pull/147478 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits