Unverified Commit d5444ab2 authored by Guillot Tony's avatar Guillot Tony Committed by GitHub
Browse files

[clang][C2x] Remove confusing diagnostic auto storage class specifier (#68710)

When declaring `auto int` at local or file scope, we emit a warning
intended for C++11 and later, which is incorrect and confusing in C23.
See [Godbolt example](https://godbolt.org/z/j1acGhecd).
Now this diagnostic does not show up in C23.
parent c3f67b3b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment