commit | f49dbe585138f203bcc517aefc350d2a055162a6 | [log] [tgz] |
---|---|---|
author | Manuel Klimek <klimek@google.com> | Fri Nov 19 14:11:53 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Nov 19 05:46:39 2021 -0800 |
tree | 60f54a4aa0a0fbd81e83e750a181f3f51f2dc60c | |
parent | efd47cc664f9525ce638421fbe6e46368878829a [diff] |
Make clang-format fuzz through Lexing with asserts enabled. Makes clang-format bail out if an in-memory source file with an unsupported BOM is handed in instead of creating source locations that are violating clang's assumptions. In the future, we should add support to better transport error messages like this through clang-format instead of printing to stderr and not creating any changes. GitOrigin-RevId: c2271926a4fc395e05cf75a8e57c2dfab1f02d3d