[clang] [Sema] Fix crash in __builtin_dump_struct with -Werror -Wformat-pedantic (PR #212377)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 28 13:49:41 PDT 2026


ojhunt wrote:

This looks good, but looking at the original mistake it might be worth looking for any similar uses of `hasErrorOccurred` in the related code and seeing if you can trigger those paths as well (it would be nice if there was some structural fix for this, but that's unlikely to be a task for this PR :D )

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


More information about the cfe-commits mailing list