[PATCH] D153114: [clangd] [C++20] [Modules] Support C++20 modules for clangd
Pol M via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 19 03:28:48 PDT 2023
Destroyerrrocket added inline comments.
================
Comment at: clang-tools-extra/clangd/ModulesManager.cpp:413-414
+ else
+ WaitingCallables[Filename.str()].push_back(
+ {std::move(ReadyCallback), std::move(ReadyCallback)});
+}
----------------
ChuanqiXu wrote:
> Destroyerrrocket wrote:
> > This is a bug; The second move is invalid. You could make a copy
> Done. Thanks for looking this. I changed it with a new signature for the callbacks with a bool argument.
No problem! I'd love to help :)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153114/new/
https://reviews.llvm.org/D153114
More information about the cfe-commits
mailing list