[clang] Fix extra error message (#222605) (PR #235427)

via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 31 01:26:58 PDT 2026


Murthy-Manideep wrote:

I have restricted recovery to single pointer declarators (auto * and const auto *).

Other cases such as multi-level pointers (auto **), qualified pointers (auto * const), and member pointers (auto S::*), are left unrecovered.
I have also added tests in GH222605.cpp to cover both recovered and unrecovered cases and verify the expected behavior.

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


More information about the cfe-commits mailing list