diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-20 18:14:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-20 18:14:03 +0000 |
commit | 38caec48bc1c9816ca59b8d164a64447ee208c2e (patch) | |
tree | 05cc5f0627b5ea5c3dd380bb12354b3fd0a58376 /lib/Frontend/CacheTokens.cpp | |
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
Diffstat (limited to 'lib/Frontend/CacheTokens.cpp')
0 files changed, 0 insertions, 0 deletions