Page MenuHomePhabricator

Fix a bug that reports UTF16 (LE) files as UTF32 (LE) ones
ClosedPublic

Authored by owenpan on May 7 2019, 12:58 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

owenpan created this revision.May 7 2019, 12:58 AM

This looks good, but did you intend to make a new diff? It looks like D61559 didn't land yet.

This patch fixes clang. I copied the code from here to clang/tools/clang-format/ClangFormat.cpp in D61559 to fix clang-format. I'm not sure if the code here should be moved into a function, though.

This revision was not accepted when it landed; it landed in state Needs Review.May 8 2019, 6:47 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2019, 6:47 AM