llvm-project
5f47cb6b - [clang] Clean up switch stack when transforming an invalid body (#211162)

Commit
11 days ago
[clang] Clean up switch stack when transforming an invalid body (#211162) This PR resolves https://github.com/llvm/llvm-project/issues/210575. Call RebuildSwitchStmt() irrespective of whether the body was succesfully transformed to make sure we always pop an entry off the switch stack. Assisted-by: OpenAI Codex
Author
Parents
Loading