Also fix a typo for the SCSU byte order mark.
Details
Details
- Reviewers
sammccall - Commits
- rZORG9c56aef64c7c: [clang] Fix a bug that reports UTF32 (LE) files as UTF16 (LE) ones
rZORG943435198f15: [clang] Fix a bug that reports UTF32 (LE) files as UTF16 (LE) ones
rG9c56aef64c7c: [clang] Fix a bug that reports UTF32 (LE) files as UTF16 (LE) ones
rG943435198f15: [clang] Fix a bug that reports UTF32 (LE) files as UTF16 (LE) ones
rGd064c71802ac: [clang] Fix a bug that reports UTF32 (LE) files as UTF16 (LE) ones
rC360256: [clang] Fix a bug that reports UTF32 (LE) files as UTF16 (LE) ones
rL360256: [clang] Fix a bug that reports UTF32 (LE) files as UTF16 (LE) ones
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This looks good, but did you intend to make a new diff? It looks like D61559 didn't land yet.
Comment Actions
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.