[clang-tools-extra] [clangd] Do not offer extraction to variable for decl init expression (PR #69477)

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 01:19:20 PST 2024


================
@@ -504,68 +502,6 @@ TEST_F(ExtractVariableTest, Test) {
         int main() {
           auto placeholder = []() { return 42; }(); return  placeholder ;
         })cpp"},
-      {R"cpp(
----------------
kadircet wrote:

again you can keep this test around by prepending a `+` to the lambda

https://github.com/llvm/llvm-project/pull/69477


More information about the cfe-commits mailing list