[PATCH] D124690: [clangd] add inlay hints for std::forward-ed parameter packs
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 16 01:10:12 PDT 2022
nridge added a comment.
One more testcase:
template <typename... Args>
void foo(Args...);
template <typename... Args>
void bar(Args... args) {
foo(args...);
}
template <typename... Args>
void foo(Args... args) {
bar(args...);
}
int main() {
foo(1, 2);
}
Sure, this is a stack overflow at runtime, but there's no excuse for it to be one in clangd :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124690/new/
https://reviews.llvm.org/D124690
More information about the cfe-commits
mailing list