[clang-tools-extra] [clangd] Do not offer extraction to variable for decl init expression (PR #69477)
Christian Kandeler via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 11 02:46:18 PST 2024
================
@@ -504,68 +502,6 @@ TEST_F(ExtractVariableTest, Test) {
int main() {
auto placeholder = []() { return 42; }(); return placeholder ;
})cpp"},
- {R"cpp(
- template <typename ...Ts>
- void foo(Ts ...args) {
- auto x = [[ [&args...]() {} ]];
- }
- )cpp",
- R"cpp(
- template <typename ...Ts>
- void foo(Ts ...args) {
- auto placeholder = [&args...]() {}; auto x = placeholder ;
- }
- )cpp"},
- {R"cpp(
----------------
ckandeler wrote:
Done.
https://github.com/llvm/llvm-project/pull/69477
More information about the cfe-commits
mailing list