This fixes PR20883.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| lib/Sema/SemaDecl.cpp | ||
|---|---|---|
| 10429 ↗ | (On Diff #13437) | Hmm, it feels like there could be other statements which don't have any children but are not a NullStmt. Might be safer to just check for NullStmt explicitly. |
Comment Actions
LGTM, thanks for fixing!
| test/Sema/attr-naked.c | ||
|---|---|---|
| 27 ↗ | (On Diff #13439) | Maybe add a t7 that has the actual case from the PR, i.e. both an asm and null statement. |