[clang] [clang] Reject 'auto' storage class with type specifier in C++ (PR #166004)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 3 11:44:47 PST 2025


================
@@ -42,7 +42,12 @@ void p3example() {
   static auto y = 0.0;
----------------
AaronBallman wrote:

> I see a diagnostic for it appearing in all of your test cases:

Ugh, yeah, I am seeing that now, I think I was looking at the wrong output before. :-D

Yeah, I think the table just needs to be updated, that doesn't need to be a part of this PR though. Thanks!

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


More information about the cfe-commits mailing list