================ @@ -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( ---------------- kadircet wrote:
for the following two can you change them to: ``` ... auto f = [[ lambda_expr ]](); ... ``` that way they should turn into ``` ... placeholder = lambda_expr; auto f = placeholder(); ... ``` https://github.com/llvm/llvm-project/pull/69477 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits