[PATCH] D61559: Fix the crash when formatting unsupported encodings

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 7 09:34:30 PDT 2019


owenpan added a comment.

I copied the code from `clang/lib/Basic/SourceManager.cpp`. See D61628 <https://reviews.llvm.org/D61628>.

I will update this patch to correct the typo in SCSU or remove it along with the other rare BOMs. How do you add test cases for this kind of fixes that emit error messages?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61559/new/

https://reviews.llvm.org/D61559





More information about the cfe-commits mailing list