sammccall accepted this revision. sammccall added a comment. This revision is now accepted and ready to land.
Thanks, and sorry for the long journey to get here :-) ================ Comment at: clang-tools-extra/clangd/TUScheduler.cpp:1542 Semaphore &Sem) { + if (!Path.empty()) + LastActiveFile = Path.str(); ---------------- this works, but for some reason my brain finds this both cuter and easier to parse ``` if (Path.empty()) Path = LastActiveFile; else LastActiveFile = Path.str(); // and capture Path as before ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D103476/new/ https://reviews.llvm.org/D103476 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits