[PATCH] D90016: [clangd] NFC: Rely on ADL in llvm::sys::path calls in marshalling
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 23 03:33:52 PDT 2020
kadircet added a comment.
I am not really keen about trusting ADL for these, as it makes the code less explicit for reader, especially as it is not something we commonly depend on clangd so readers/reviewers would not be expecting that. So I believe we should not stray away from the general project style in here.
Though I am a fan of not spelling `llvm::sys::path` bazillion times. What about having either a `using namepsace` for it or, using declarations for the individual symbols we are using (e.g. Style, covnert_to_slash and is_absolute)? This would also help with not spelling qualifiers over and over again in the argument names.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90016/new/
https://reviews.llvm.org/D90016
More information about the cfe-commits
mailing list