commit | 38caec48bc1c9816ca59b8d164a64447ee208c2e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Apr 20 18:14:03 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Apr 20 18:14:03 2010 +0000 |
tree | 05cc5f0627b5ea5c3dd380bb12354b3fd0a58376 | |
parent | 3e79c30807c516e8d32e4ed08408b30605df5997 [diff] |
enhance sourcemgr to detect various UTF BOM's and emit a fatal error about it instead of producing tons of garbage from the lexer. It would be even better for sourcemgr to dynamically transcode (e.g. from UTF16 -> UTF8). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101924 91177308-0d34-0410-b5e6-96231b3b80d8