================
@@ -112,7 +112,10 @@ struct UpdateIndexCallbacks : public ParsingCallbacks {
                  // Index outlives TUScheduler (declared first)
                  FIndex(FIndex),
                  // shared_ptr extends lifetime
-                 Stdlib(Stdlib)]() mutable {
+                 Stdlib(Stdlib),
+                 // We have some FS implementations that rely on infomration in
+                 // the context.
+                 Ctx(Context::current().clone())]() mutable {
----------------
ilya-biryukov wrote:

@sam-mccall, @usx95 could you please vet this change? 
I'm on vacation since tomorrow and I won't have time to go through this today.
It's probably correct, I'm just missing context to know for sure and getting it 
will take time.

https://github.com/llvm/llvm-project/pull/88381
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to