clang-tools-extra/clangd/Shutdown.cpp
0 → 100644
+39
−0
clang-tools-extra/clangd/Shutdown.h
0 → 100644
+84
−0
+7
−0
Loading
Summary: This avoids leaking PCH files if editors don't use the LSP shutdown protocol. This is one fix for https://github.com/clangd/clangd/issues/209 (Though I think we should *also* be unlinking the files) Reviewers: kadircet, jfb Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, jfb, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D70684