Unverified Commit 5901d400 authored by Aaron Ballman's avatar Aaron Ballman Committed by GitHub
Browse files

[C] Disallow declarations where a statement is required (#92908)

This fixes a regression introduced in
8bd06d5b where Clang began to accept a
declaration where a statement is required. e.g.,
```
if (1)
  int x; // Previously accepted, now properly rejected
```

Fixes #92775
parent d33864d5
Pipeline #2809 canceled with stages
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