Revert D123909 "[Clang] Use of decltype(capture) in parameter-declaration-clause"
authorFangrui Song <i@maskray.me>
Wed, 20 Apr 2022 17:32:41 +0000 (10:32 -0700)
committerFangrui Song <i@maskray.me>
Wed, 20 Apr 2022 17:32:41 +0000 (10:32 -0700)
commit0f5dbfd29ae0df215a01aff80d29255bb799fed0
treea1a16771ddb9e4c3a6aea59d6f14df3b8c9cc329
parent9955f14aaf9995f6f0f7bf058ac740463003c470
Revert D123909 "[Clang] Use of decltype(capture) in parameter-declaration-clause"

This reverts commit daa6d7b250edb81ffef7770a71049d7af211698b.

It breaks valid code like https://reviews.llvm.org/D123909#3461716
clang/docs/ReleaseNotes.rst
clang/include/clang/Parse/Parser.h
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Parse/ParseExprCXX.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/SemaCXX/lambda-capture-type-deduction.cpp