[clangd] Expose -offset-encoding=utf-32, which has been implemented for ages

llvm-svn: 367812
This commit is contained in:
Sam McCall 2019-08-05 08:14:17 +00:00
parent 6b09e9c864
commit 801d3304e9
1 changed files with 3 additions and 1 deletions

View File

@ -359,7 +359,9 @@ opt<OffsetEncoding> ForceOffsetEncoding{
values(
clEnumValN(OffsetEncoding::UTF8, "utf-8", "Offsets are in UTF-8 bytes"),
clEnumValN(OffsetEncoding::UTF16, "utf-16",
"Offsets are in UTF-16 code units")),
"Offsets are in UTF-16 code units"),
clEnumValN(OffsetEncoding::UTF32, "utf-32",
"Offsets are in unicode codepoints")),
init(OffsetEncoding::UnsupportedEncoding),
};